Sign in to follow this  
Followers 0
m0ng0l.h0rde

Send keyboard commands to a console program.

4 posts in this topic

I am writing an AutoIT script to launch a DOS based program, and I want to be able to send an ALT+Enter once the DOS window is open, to set it to full screen. The AutoIT script will be calling a batch file on a networked drive, to start the program.

Is there any way to do this? I've got the rest of the script up and working, except for this part. I've seen the posts for using stdin (don't think I've got that right)

I am using AutoIT v3.1.1, currently.

Thank you,

Jason A.

Share this post


Link to post
Share on other sites



Have you tryed Send?

Share this post


Link to post
Share on other sites

RunWait ("C:\path\to\batch\file.bat")
WinActivate ("Title of new window")
Send ("!{ENTER")

Not Tested


The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Share this post


Link to post
Share on other sites

Thank you, this worked. Forgot all about the send command....

Thanks again,

Jason A.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0