Hi all,
Need help again in batch scripting. I need to create a command line script to launch an .exe file, but this .exe launches a window instead of a command prompt, and in this window you have to login and click some buttons before it actually do its stuff. How can I pass keystroke parameters just by using the command line?
Here's what it's supposed to do:
1) Run winprogram.exe
2) Enter password
3) Tab
4) Enter
5) delay 5 seconds
6) Hit the 'q' key
7) delay 3 minutes
8) Click "Run" button
9) Hit the 'c' key
10) delay 5 minutes
11) Hit the 'o' key
12) F4
Please help. Thanks in advanced!
Need help again in batch scripting. I need to create a command line script to launch an .exe file, but this .exe launches a window instead of a command prompt, and in this window you have to login and click some buttons before it actually do its stuff. How can I pass keystroke parameters just by using the command line?
Here's what it's supposed to do:
1) Run winprogram.exe
2) Enter password
3) Tab
4) Enter
5) delay 5 seconds
6) Hit the 'q' key
7) delay 3 minutes
8) Click "Run" button
9) Hit the 'c' key
10) delay 5 minutes
11) Hit the 'o' key
12) F4
Please help. Thanks in advanced!