Help with handling code when error happens

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
RayB
Posts: 26
Joined: Sat Mar 28, 2015 4:19 pm

Help with handling code when error happens

Post by RayB » Sat Dec 31, 2016 5:18 pm

VERSION BUILD=8890130, Windows 7, Firefox 50.1

Hi,

I have this line of code in a macro.

URL GOTO=http://www.photos.net/gallery/showphoto ... to={{!VAR9}}

Most of the time, everything works fine, however, sometimes the photo is missing and I get a -933 error.
I need some help to add code to do this evaluation which I wrote in code I understand:

IF ERROR = -933 then
ADD !VAR9 +1
ENDIF

This may be easily done with the EVAL code but I don't understand the jsp.

Thanks for your help!
Post Reply