timmme Posted March 1, 2007 Share Posted March 1, 2007 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 Link to comment Share on other sites More sharing options...
LOULOU Posted March 1, 2007 Share Posted March 1, 2007 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}') Link to comment Share on other sites More sharing options...
timmme Posted March 1, 2007 Author Share Posted March 1, 2007 Send only send Keys to Active windowsTry with ControlSend and Hwnd of DOS Windows which can send keys even if the windows is not activeControlSend( hwnd,' ','{ENTER}')this way also sends only the ENTER key, but PAUSE isn't sent againan the window is always active Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now