How to handle exception in macro

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
sachinpuranik
Newbie
Posts: 7
Joined: Thu Feb 18, 2016 9:58 am

How to handle exception in macro

Post by sachinpuranik » Wed Aug 17, 2016 8:05 am

HI ,
I have one macro script running for windows application.I have handled one or two popup coming inbetween procedure through macro. But sometimes unhandled popup come up & macro halted because it wont find it's particular UI object & it's keep searching for it, until manual intervention not there or manually stop the macro.
Can anyone help me out how to handle unhandled popups through macro.

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

Re: How to handle exception in macro

Post by Marcus Tettmar » Wed Aug 17, 2016 1:18 pm

Ideally we know what all the possible pop up windows might be. If not then maybe this will help:

https://www.mjtnet.com/blog/2008/03/04/ ... e-dialogs/
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

NancyM
Pro Scripter
Posts: 66
Joined: Mon Jul 18, 2016 7:01 pm

Re: How to handle exception in macro

Post by NancyM » Wed Aug 17, 2016 3:02 pm

I can't tell you how timely this topic is. Thanks, I need this info. :-)

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