Need "WaitWindowOpen" open help!

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
Mayhem
Junior Coder
Posts: 25
Joined: Tue Apr 22, 2003 6:34 pm

Need "WaitWindowOpen" open help!

Post by Mayhem » Sat Jun 12, 2004 8:50 pm

I have a problem.

I need my script to wait for 2 different windows to open. (one or the other), then continue along my script.

How can this be done? Small example would be appreciated!

Lumumba

Post by Lumumba » Sat Jun 12, 2004 9:31 pm

Label>Swapper
GetActiveWindow>WindowTitle,X,Y
If>WindowTitle=TheAWindowTitle, AWindow
If>WindowTitle=TheBWindowTitle, BWindow
Goto, Swapper

Label>AWindow
.
.
.
Goto, Done

Label>BWindow
.
.
.

Label>Done

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts