cypher175 Posted December 10, 2008 Posted December 10, 2008 i need to send {Enter} to a hidden CMD.EXE window.. how can I do this..??
Zedna Posted December 10, 2008 Posted December 10, 2008 Try ControlSend() Resources UDF ResourcesEx UDF AutoIt Forum Search
Andreik Posted December 10, 2008 Posted December 10, 2008 (edited) AutoItSetOption('WinTitleMatchMode',2) WinActivate("cmd.exe") WinWaitActive("cmd.exe") Send("{ENTER}") Edited December 10, 2008 by Andreik
someone Posted December 10, 2008 Posted December 10, 2008 You can also try using ECHO in the command prompt. Using 'echo. | command' will execute your command and then press enter. Useful for dos programs that require you to hit y or enter before continuing. Type date in a command prompt then use echo. | date to see what I mean. While ProcessExists('Andrews bad day.exe') BlockInput(1) SoundPlay('Music.wav') SoundSetWaveVolume('Louder') WEnd
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