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!
FindObject> return false instead of error msg
Moderators: Dorian (MJT support), JRL
-
- Pro Scripter
- Posts: 70
- Joined: Sun May 03, 2009 11:49 pm
- Location: AU
FindObject> return false instead of error msg
Loving MS's Capabilities!!!
- Dorian (MJT support)
- Automation Wizard
- Posts: 1378
- Joined: Sun Nov 03, 2002 3:19 am
- Contact:
Re: FindObject> return false instead of error msg
Thank you for your suggestion. A possible workaround for this could be :
Let>IGNOREERRORS=1
FindObject>blah blah
Let>IGNOREERRORS=0
Let>IGNOREERRORS=1
FindObject>blah blah
Let>IGNOREERRORS=0
Yes, we have a Custom Scripting Service. Message me or go here
-
- Pro Scripter
- Posts: 70
- Joined: Sun May 03, 2009 11:49 pm
- Location: AU
Re: FindObject> return false instead of error msg
Hi Dorian,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
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!!!