Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Batch Scripting Help - Keystrokes

Status
Not open for further replies.

robbyd925

IS-IT--Management
Nov 18, 2005
4
CA
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!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top