VBscript to Send Key Strokes (Auto Response) to the Windows Applications
Here is a very simple and quick VBscript that can automated press OK on your Windows Run prompt. If you have any of the command types in your Run box, that gets executed simply by running this script. set shell = createobject("wscript.shell") wscript.sleep 200 success = shell.appactivate("Run") if success then shell.sendkeys "{tab}" wscript.sleep 400 shell.sendkeys "{enter}" Steps: Open the Run, (use Windows key + R) Type cmd in the Run box Open the Explorer where you have the above code saved as .vbs script Double click on the .vbs script file for it to run That’s it will see […]
Read more