Page 1 of 1

iMacros shouldnt stop if a site doesnt exist

Posted: Fri May 14, 2010 8:09 am
by espe
Hellooo :)

ive tryed to make a entry in guestbooks in different profiles.
if a profile is deleted banned or what ever or the guestbook is disabled iMacros stops.
how to say to iMacros "dont stop! go to next profile/command-line" ?

Re: iMacros shouldnt stop if a site doesnt exist

Posted: Fri May 14, 2010 7:20 pm
by slamsal
use following code

Code: Select all

SET !ERRORIGNORE YES
But if you are using vbscript or other scripting;
iret = iim1.iimPlay("testmacro")
if iret < 0 then
//whatever you want to do
end if

Re: iMacros shouldnt stop if a site doesnt exist

Posted: Fri May 14, 2010 8:06 pm
by espe
Yeah thank you slamsal but where can I set the error-tag-waiting-time ?
now its 36 seconds and that tooo long for the entrys :(

OR where can I see the parameters ? i am new :(

Re: iMacros shouldnt stop if a site doesnt exist

Posted: Wed May 19, 2010 1:08 pm
by Daniel, Tech Support
Hello,

Please take a look at these variables:
!TIMEOUT_TAG
!TIMEOUT
!TIMEOUT_MACRO

Best regards,

Re: iMacros shouldnt stop if a site doesnt exist

Posted: Thu Jun 03, 2010 10:40 am
by helenk579
Daniel, iOpus wrote:Hello,

Please take a look at these variables:
!TIMEOUT_TAG
!TIMEOUT
!TIMEOUT_MACRO

Best regards,
Such a very amazing link!

Re: iMacros shouldnt stop if a site doesnt exist

Posted: Thu Jul 22, 2010 11:49 am
by tommm
i set !ERRORIGNORE YES and my macro have to input text into a form. sometimes it works but mostly the macro hangs after the text input. in this case the loading of the site is not finished but the form is visible. the macro now inputs the text into the form as expected. then the loading timeout is finished but the script doesn't go to the next step. i think it has nothing to do with the page-load directly because at another step (at the beginning of the macro) the page sometimes does not load too but after the loading timeout the macro continues as expected.

this is the part where my macro hangs often:

TAB T=1
TAG POS=1 TYPE=TEXTAREA FORM=ACTION:/comment_servlet?add_comment=1&comment_type=V ATTR=NAME:comment CONTENT={{!VAR1}}

any hints?

Re: iMacros shouldnt stop if a site doesnt exist

Posted: Thu Jul 22, 2010 10:28 pm
by Daniel, Tech Support
Hi,

If the problem is that the page is not fully loaded, but everything that you need is loaded, you can use a following workaround to stop the macro from waiting for the page to fully load:
Set macro to ignore errors, set macro to timeout in a short period of time, then load the page and restore ERRORIGNORE and TIMEOUT back to default values. After that the script continues as if the page has loaded. E.g.

Code: Select all

SET !ERRORIGNORE YES
SET !TIMEOUT 15
URL GOTO=your_url
SET !TIMEOUT 60
SET !ERRORIGNORE NO
...'rest of macro
Best regards,