Jump to content

Recommended Posts

Posted

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.

Posted

You're right, it's not quite the happiest choice, but if I know exactly what the windows are, and hope the builds won't change that much, it will get the job done.

Thanks for the help, I'll try that. :)

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
×
×
  • Create New...