FindObject> return false instead of error msg

Ideas for new features & functions

Moderators: Dorian (MJT support), JRL

Post Reply
zabros2020
Pro Scripter
Posts: 70
Joined: Sun May 03, 2009 11:49 pm
Location: AU

FindObject> return false instead of error msg

Post by zabros2020 » Fri Mar 10, 2017 10:54 am

I have created an automation that looks for a specific object that may take around 30secs to 3mins to generate and exist.
Is it possible for FindObject> function to return false (0) object if not found and true (1) when found?
Instead of the error msg which halts the automation process, this would be a brilliant little feature.
Thanks!
Loving MS's Capabilities!!!

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1380
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: FindObject> return false instead of error msg

Post by Dorian (MJT support) » Wed Apr 12, 2017 1:35 am

Thank you for your suggestion. A possible workaround for this could be :

Let>IGNOREERRORS=1
FindObject>blah blah
Let>IGNOREERRORS=0
Yes, we have a Custom Scripting Service. Message me or go here

zabros2020
Pro Scripter
Posts: 70
Joined: Sun May 03, 2009 11:49 pm
Location: AU

Re: FindObject> return false instead of error msg

Post by zabros2020 » Fri Apr 28, 2017 6:02 am

Dorian (MJT support) wrote:Thank you for your suggestion. A possible workaround for this could be :

Let>IGNOREERRORS=1
FindObject>blah blah
Let>IGNOREERRORS=0
Hi Dorian,
A brilliant fellow by the name of Marcus pointed me in this direction also. (solved my issue)
thanks for the great support :)
Loving MS's Capabilities!!!

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