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

iMacros ignore errors

Discussion in 'Scripting' started by ha4x0r, Apr 27, 2017.

  1. ha4x0r

    ha4x0r Junior Member

    Joined:
    Aug 23, 2014
    Messages:
    113
    Likes Received:
    9
    I am aware that you can use 'SET !ERRORIGNORE YES' at the beginning of the script however what I want to achieve is ignore error on one line only how can that be done?
     
  2. HoNeYBiRD

    HoNeYBiRD Jr. VIP Jr. VIP

    Joined:
    May 1, 2009
    Messages:
    6,954
    Likes Received:
    7,985
    Gender:
    Male
    Occupation:
    Geographer, Tourism Manager
    Location:
    Ghosted
    Easily. :)

    The default setting is no, so set error ignore to yes before the line and set it to no after the line.

    Code:
    SET !ERRORIGNORE YES
    'the line of code where you want to ignore the errors'
    SET !ERRORIGNORE NO
     
    • Thanks Thanks x 2
  3. ha4x0r

    ha4x0r Junior Member

    Joined:
    Aug 23, 2014
    Messages:
    113
    Likes Received:
    9
    Thanks for your help!