Created
May 22, 2019 19:23
-
-
Save codelahoma/3b35988f22c44a9e897e97e7209193de to your computer and use it in GitHub Desktop.
Quick and Dirty 'Caffeine' for Windows
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 WshShell | |
Set WshShell = Wscript.CreateObject("WScript.Shell") | |
Do While True | |
WshShell.SendKeys("{F15}") | |
WScript.Sleep(55000) | |
Loop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment