waSendKeys: new Winadmin script

winadmin tools
Over on the brand new, freshly painted Winadmin scripts site:
waSendKeys.wsf 1.0 was just released.

This one will start a program and send keystrokes to it. Use it to automate programs that only have an interactive user interface and do not support command-line parameters: defrag tools, export to CSV/HTML, … You can also use this script in a scheduled task!

waSendkeys D:foo.exe /wait:20 /keys:"{F9};^R;test;{ENTER};%{F4}"
:: will send F9, CTRL+R, “test”, ENTER And ALT-F4

💬 winadmin