Sign in to follow this  
Followers 0
timmme

Send Key PAUSE to DOS Program

3 posts in this topic

Hello,

to start a programm, running in au DOS Box, i've always got to enter PAUSE and the ENTER to get the graphical interface. There are no other ways to get there

Now I want to write an AutoIt Script. It opens the programm and then

Send("{PAUSE}")

Send("{ENTER}")

But he only sends ENTER, do you know a way to send PAUSE too, or is there no way to do that?

THanks

Share this post


Link to post
Share on other sites



Send only send Keys to Active windows

Try with ControlSend and Hwnd of DOS Windows which can send keys even if the windows is not active

ControlSend( hwnd,' ','{ENTER}')

Share this post


Link to post
Share on other sites

Send only send Keys to Active windows

Try with ControlSend and Hwnd of DOS Windows which can send keys even if the windows is not active

ControlSend( hwnd,' ','{ENTER}')

this way also sends only the ENTER key, but PAUSE isn't sent again

an the window is always active

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