Created
March 30, 2018 01:41
-
-
Save skyriser/dc38ff57c18de53a3b1bcb31a5e3f603 to your computer and use it in GitHub Desktop.
スクリーンセーバーの起動とかサスペンドしちゃうのをShiftキー定期的に押すことで回避するアナログなやつ
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
cscript Prevent_SS.vbs |
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
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