Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var WshShell = WScript.CreateObject("WScript.Shell");
WshShell.Run(WScript.Arguments.item(0));
WScript.Sleep(500);
WshShell.AppActivate(WScript.Arguments.item(1));
WScript.Sleep(100);
var Keystrokes = WScript.Arguments.item(2)
WshShell.SendKeys(Keystrokes);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.