damien Posted January 9, 2010 Share Posted January 9, 2010 ok so i have this func that runs an application. Is there a way to script for that func to wait til that window is closed and then do something else, and then end the func? and if so what is the script for that? lets say the window name is Xax but when you open a prog inside it becomes Xax - (progname). Link to comment Share on other sites More sharing options...
damien Posted January 9, 2010 Author Share Posted January 9, 2010 or better yet when the process has closed it runs the second func? Link to comment Share on other sites More sharing options...
damien Posted January 9, 2010 Author Share Posted January 9, 2010 ok so i have found this "WinWaitClose ( "title" [, "text" [, timeout]] )" i would probably use it like this "WinWaitClose ( "Xax - "?????" ) then the rest of my script for the function. Now about the "?????" how do i set a variable for the rest of the title that i wont know? like in windows search i can search for *.exe and it will show me results for any .exe file is there a way to do that for the window title? Link to comment Share on other sites More sharing options...
JohnOne Posted January 9, 2010 Share Posted January 9, 2010 WinTitleMatchMode AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
damien Posted January 9, 2010 Author Share Posted January 9, 2010 Sweet! thank you 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