[IMACROS ] how to skip an error with imacros ?

Giederius

Junior Member
Joined
Jan 20, 2013
Messages
138
Reaction score
23
Hello! I'm really a noob at programming but i used to learn how to program with pascal in school and I don't remember anything :D So i know there are if, while and etc. So the problem is, I receive this error while running the script. "RuntimeError: element TEXTAREA specified by ID:commentbody was not found, line: 4 (Error code: -921)" how do i bypass it without making the program crash ? I know there is a way to do this. If happens A(error, can't find th textbox), then go to B(hit next and comment another picture) and do it so on.. How to write that If happens A then go to B ? I just can't figure it out..
 
use 'SET !ERRORIGNORE YES' at the beginning of your scruipt, then the macro will continue even when there is a error on a certain command.
 
Thank you very much! It worked!
 
Back
Top