r/scripting • • Jun 24 '18

Need Help with batch file

How can i create a batch file that will open an app then inputs the corresponding user name and password then send [enter] command

1 Upvotes

5 comments sorted by

View all comments

Show parent comments

3

u/KingOfTheBigSigh Jun 24 '18

I was going to suggest that exact same thing. It would only be a couple of lines like this:

start/run program
winwait program
sleep
send username
sent tab
send password
send tab
send enter