Perform action if WaitWindowOpen took too long to wait

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
winstein
Pro Scripter
Posts: 84
Joined: Mon Nov 26, 2012 3:44 pm

Perform action if WaitWindowOpen took too long to wait

Post by winstein » Wed Dec 05, 2012 4:19 am

Is there any way for the scheduler to perform an action (such as, say, skip that step) if the WaitWindowOpen didn't detect any window for a long time? This also applies to other forms of waiting where the scheduler needs to wait for certain things to perform something.

Thanks for reading.
PPQ

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Dec 05, 2012 6:23 am

Yes, use the timeout options. Set WW_TIMEOUT and check WW_RESULT for the WaitWindow.. commands. See help file for WaitWindowOpen.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

winstein
Pro Scripter
Posts: 84
Joined: Mon Nov 26, 2012 3:44 pm

Post by winstein » Thu Dec 06, 2012 2:40 pm

I didn't think of this. This is OK for me.

Thanks for the tip!
PPQ

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