Sign in to follow this  
Followers 0
damien

another noob question

5 posts in this topic

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).

Share this post


Link to post
Share on other sites



or better yet when the process has closed it runs the second func?

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

Sweet! thank you

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