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.

Moderators: Community Moderators, iMacros Moderators

Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.

Help with handling code when error happens

by RayB on Sat Dec 31, 2016 10:18 am

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.php?photo={{!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!
RayB
 
Posts: 16
Joined: Sat Mar 28, 2015 9:19 am

Return to iMacros for Firefox

Who is online

Users browsing this forum: No registered users and 11 guests

-->