Last active
February 22, 2024 13:59
-
-
Save valdergallo/0e05d9e0c90b7be77458 to your computer and use it in GitHub Desktop.
Script to make windows stop to sleep using VBscript
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
set wsc = CreateObject("WScript.Shell") | |
Do | |
'Five minutes | |
WScript.Sleep(5*60*1000) | |
wsc.SendKeys("{NUMLOCK}") | |
Loop |
Or you can send NUMLOCK twice in each iteration. Thanks for this.
You should know that this haxx also works as a real mouse/keyboard "jiggler".
It makes MS Teams' presence consistent! (only works on the app, not the web app)
No more auto-"away"!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This Is A Matrix Code
VBS File