Created
June 24, 2011 08:31
-
-
Save kits/1044438 to your computer and use it in GitHub Desktop.
screen saver blocker
This file contains 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
var WshShell = WScript.CreateObject("WScript.Shell"); | |
while (1) { | |
var intButton = WshShell.Popup( | |
"Quit?", 60, "Blocker", 0 + 32); | |
if (intButton == 1) | |
break; | |
else | |
WScript.Sleep(100); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment