Skip to content

Instantly share code, notes, and snippets.

@petermeissner
Created April 19, 2021 09:31
Show Gist options
  • Save petermeissner/01899dd9a9d679f7c027aefa50d3c5c4 to your computer and use it in GitHub Desktop.
Save petermeissner/01899dd9a9d679f7c027aefa50d3c5c4 to your computer and use it in GitHub Desktop.
script to endlessly 'press' key at certain intervals
Dim objResult
Set objShell = WScript.CreateObject("WScript.Shell")
Do While True
objResult = objShell.sendkeys("{F15}")
Wscript.Sleep (60000)
Loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment