Created
August 9, 2019 08:35
-
-
Save Green-m/44909464d51be37abaee5d2db7cd74a4 to your computer and use it in GitHub Desktop.
Windows_screen_saver_prevent_script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dim objResult | |
Set objShell = WScript.CreateObject("WScript.Shell") | |
Do While True | |
objResult = objShell.sendkeys("{NUMLOCK}{NUMLOCK}") | |
Wscript.Sleep (6000) | |
Loop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment