windows system? I did on Windows 2008 R2:
- use notepad.exe to create c: \ temp \ idle.vbs
- insert code
Dim objResult Set objShell = WScript.CreateObject("WScript.Shell")
i = 0; Do While i = 0 objResult = objShell.sendkeys("{NUMLOCK}{NUMLOCK}") Wscript.Sleep (60000) Loop
Dim objResult Set objShell = WScript.CreateObject("WScript.Shell")
i = 0; Do While i = 0 objResult = objShell.sendkeys("{NUMLOCK}{NUMLOCK}") Wscript.Sleep (60000) Loop
- every 60 seconds, this script "click" numlock twice
- run the script
C:\Windows\System32\cscript.exe c:\temp\idle.vbs
Additonal you can create a new shortcut, insert a command line and set to "run minimized", camouflage the icon in Explorer or another.
source share