1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

iMacros: How can i restart the script when an error occurs?

Discussion in 'General Scripting Chat' started by mfiii, Apr 14, 2012.

  1. mfiii

    mfiii Regular Member

    Joined:
    May 16, 2010
    Messages:
    443
    Likes Received:
    42
    Hello,

    How can i restart the script when an error occurs in iMacros? So it will not stop but start again from the beginning.


    Thanks
     
  2. kancelari

    kancelari Junior Member

    Joined:
    Sep 15, 2009
    Messages:
    146
    Likes Received:
    54
    Just make
    SET !ERRORIGNORE YES
    It will pass error and continue runing the script.
    You also can make skip error timeout on options to 5 - 10 secs
     
  3. mfiii

    mfiii Regular Member

    Joined:
    May 16, 2010
    Messages:
    443
    Likes Received:
    42
    I have tried this but nothing :( Script only runs one command. I play it with loop
     
  4. TopSeoDude15

    TopSeoDude15 BANNED BANNED

    Joined:
    Apr 14, 2012
    Messages:
    41
    Likes Received:
    0
    set error ignore yes then it might fix things up
     
  5. mfiii

    mfiii Regular Member

    Joined:
    May 16, 2010
    Messages:
    443
    Likes Received:
    42
    As i said before i had tried this but nothing..
     
  6. jubu211

    jubu211 Newbie

    Joined:
    Feb 20, 2011
    Messages:
    34
    Likes Received:
    16
    OP might want it to error so that it doesn't do the following command but still wants it to restart. I've been looking forever for this solution and the best I could find was having to use javascript or something like that with the imacro. It's a little to advanced for me so I just settled for ignore error. There is an EVAL command that you can use in imacro. So that may possibly help but that's written in javascript, so once again you have to find out how that is written.

    Edit: after rereading this may not be the case. Does it say what error you're having?
     
    Last edited: Apr 14, 2012
  7. mfiii

    mfiii Regular Member

    Joined:
    May 16, 2010
    Messages:
    443
    Likes Received:
    42
    The page which i load sometimes lags so it doesnt load and script cannot find the attribute that i have given to do th comand so it stops..