brett Posted May 14, 2004 Posted May 14, 2004 Would it be possible to Wait for 2 screens at once, and if one comes, it does a function, but if a different window comes, it will do a different function? WinWait( "Title", "",) WinWait( "DifferentTitle", "",) -Brett
Developers Jos Posted May 14, 2004 Developers Posted May 14, 2004 Something like this could work: While 1 if WinExists( "Title", "",1) Then ; do your thing EndIf if WinExists( "DifferentTitle", "",1) Then ; do your thing endif sleep(50) Wend SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
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