Zisly Posted April 25, 2008 Share Posted April 25, 2008 Is it possible to make so the program will send commands to a window/program even if it is minimized? so I can do other stuff while running the program? Thankfull for answers Link to comment Share on other sites More sharing options...
someone Posted April 25, 2008 Share Posted April 25, 2008 Yes you can do that. Check out the Control functions in the helpfile While ProcessExists('Andrews bad day.exe') BlockInput(1) SoundPlay('Music.wav') SoundSetWaveVolume('Louder') WEnd Link to comment Share on other sites More sharing options...
Zisly Posted April 25, 2008 Author Share Posted April 25, 2008 (edited) Yes you can do that. Check out the Control functions in the helpfileWill do,thanks for the fast response Edit: I didn't find it :SCould someone tell me what I should search for in the helpfile to get it? or what the function is called? Edited April 25, 2008 by Zisly Link to comment Share on other sites More sharing options...
sigil Posted April 25, 2008 Share Posted April 25, 2008 Will do,thanks for the fast response Edit: I didn't find it :SCould someone tell me what I should search for in the helpfile to get it? or what the function is called?Look for functions that start with "Control", e.g., ControlClick() Link to comment Share on other sites More sharing options...
Zisly Posted April 25, 2008 Author Share Posted April 25, 2008 (edited) I think i found it, is it this one? ControlCommand Sends a command to a control. ? If I use that will I be able to do other things while the programs ex send messages in another window? Edited April 25, 2008 by Zisly Link to comment Share on other sites More sharing options...
sigil Posted April 25, 2008 Share Posted April 25, 2008 Only found "GUI control styles" :SGo to the Index tab, and scroll down until you get to all the "Control..." functions. Link to comment Share on other sites More sharing options...
Zisly Posted April 25, 2008 Author Share Posted April 25, 2008 (edited) Thanks !! works like a dream xD Now I dont have to have the window opened all the time Edited April 25, 2008 by Zisly Link to comment Share on other sites More sharing options...
Muffin Posted April 26, 2008 Share Posted April 26, 2008 hey im also new to autoit (writing programms/scripts) and i would like to know how to get a windows pid (process id) which i need to send commands to a window even when its hidden thx in advance Link to comment Share on other sites More sharing options...
Bert Posted April 26, 2008 Share Posted April 26, 2008 WinGetHandle The Vollatran project My blog: http://www.vollysinterestingshit.com/ 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