Jump to content

Wait for different windows


 Share

Recommended Posts

Hi guys,

I need to wait for a window. The problem is I get two choices. For instance, an update may be successful or may require me to change the update server. And this is just one example. So, I thought about doing smth like:

wait for (window1) or (window2)

if window1 is active then action1

else if window2 is active then action2

Unfortunately the windows don't have a common title. That would have been easier.

I think it should be something simple... just don't see it.

Do you have any suggestions? Thanks.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...