Created
October 4, 2022 11:56
-
-
Save frnkq/76fcc421cf0600272f90f3c31fda7522 to your computer and use it in GitHub Desktop.
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 | |
WScript.Sleep (60*1000) | |
wsc.SendKeys ("{SCROLLLOCK 2}") | |
Loop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some special keys, such as the control keys, function keys etc are encoded in a string enclosed by {braces}
See the table below
To specify keys combined with any combination of SHIFT, CTRL, and ALT keys, precede the key code with one or more of the following:
Source:https://ss64.com/vb/sendkeys.html