Answer the question
In order to leave comments, you need to log in
How to add a keypress to a script?
Dim WshShell
set WshShell = WScript.CreateObject("WScript.Shell")
For doloop = 1 to 999999
WshShell.Run "taskkill /f /IM 123"
WScript.Sleep 3000
WshShell.Run "123.exe"
WScript.Sleep (30*60*1000)
Next
WScript.Quit
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question