Initial commit

This commit is contained in:
2023-10-20 08:55:10 +02:00
commit 6412cad318
5 changed files with 27 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
*.exe
*.chm
+11
View File
@@ -0,0 +1,11 @@
# NirCmd scripts
This repository contains small scripts to run NirCmd on Windows systems, to move the cursor every minute
### NirCmd
[NirCmd](https://www.nirsoft.net/utils/nircmd.html) is a small tool that can run many actions on Windows.
`nircmd-x64.zip` is the latest version we got (2.86).
### Scripts
* `alive.sh` is a Shell script which calls NirCmd to move the cursor every 30 seconds.
* `alive.ps1` is a PowerShell script which calls NirCmd to move the cursor every 30 seconds.
+5
View File
@@ -0,0 +1,5 @@
while($true){
.\nircmd.exe movecursor 1 1
.\nircmd.exe movecursor -1 -1
Start-Sleep -Seconds 30
}
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
while true; do
./nircmd.exe movecursor 1 1
./nircmd.exe movecursor -1 -1
sleep 30
done
exit 0
BIN
View File
Binary file not shown.