Image recognition error trapping?

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
Phil Pendlebury
Automation Wizard
Posts: 538
Joined: Tue Jan 16, 2007 9:00 am
Contact:

Image recognition error trapping?

Post by Phil Pendlebury » Sun Dec 21, 2014 12:14 pm

I have a script which I have been using for years.

Part of it looks for an image and if it doesn't find it, (result is -1) it will do some error procedure.

Now I am simply getting a Macro Scheduler Error dialog box with only an OK or Abort button:

Error in (Script Name)
Line 2531 - Cannot find image file in
FindIimagePos/WaitScreenImage


If I hit OK the script will continue but of course this means I cannot do any automatic error trapping. It seems that something has changed in this behaviour?

EDIT: MY BAD - The Needle file name had been changed...
Phil Pendlebury - Linktree

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