Jump to content

Recommended Posts

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", "",)

Link to post
Share on other sites
  • Developers

Something like this could work:

While 1
   if WinExists( "Title", "",1) Then
     ; do your thing
   if WinExists( "DifferentTitle", "",1) Then
     ; do your thing

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.

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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...