Skip to content

Instantly share code, notes, and snippets.

@skyriser
Created March 30, 2018 01:41
Show Gist options
  • Save skyriser/dc38ff57c18de53a3b1bcb31a5e3f603 to your computer and use it in GitHub Desktop.
Save skyriser/dc38ff57c18de53a3b1bcb31a5e3f603 to your computer and use it in GitHub Desktop.
スクリーンセーバーの起動とかサスペンドしちゃうのをShiftキー定期的に押すことで回避するアナログなやつ
cscript Prevent_SS.vbs
Set objShell = WScript.CreateObject("WScript.Shell")
Do
WScript.Echo "Press Shift..."
WScript.Sleep 1000*60*1
objShell.SendKeys "+"
Loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment