Initial commit
This commit is contained in:
commit
6412cad318
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
*.exe
|
||||
*.chm
|
11
README.md
Normal file
11
README.md
Normal 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
alive.ps1
Normal file
5
alive.ps1
Normal file
@ -0,0 +1,5 @@
|
||||
while($true){
|
||||
.\nircmd.exe movecursor 1 1
|
||||
.\nircmd.exe movecursor -1 -1
|
||||
Start-Sleep -Seconds 30
|
||||
}
|
9
alive.sh
Normal file
9
alive.sh
Normal 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
nircmd-x64.zip
Normal file
BIN
nircmd-x64.zip
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user