Skip to content

Instantly share code, notes, and snippets.

@kits
Created June 24, 2011 08:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kits/1044438 to your computer and use it in GitHub Desktop.
Save kits/1044438 to your computer and use it in GitHub Desktop.
screen saver blocker
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