Imacros help

Discussion in 'General Programming Chat' started by Ruriko, Oct 27, 2012.

  1. Ruriko

    Ruriko Power Member

    Joined:
    May 4, 2008
    Messages:
    574
    Likes Received:
    12
    Hi I need some help with imacros. Anyone know why I get the error:
    Code:
    Error -1250: JScript statement in EVAL contains the following error: Object required. Line 4: SET !VAR1 EVAL("var code=\"{{!EXTRACT}}\"; var result = code.match( /name=\"([^\"]*)\"/ ); var extract = result[1]; extract;")
    This is the code
    Code:
    TAB T=1
    TAG POS=1 TYPE=DIV ATTR=ID:TB_window EXTRACT=HTM
    SET !VAR1 EVAL("var code=\"{{!EXTRACT}}\"; var result = code.match( /name=\"([^\"]*)\"/ ); var extract = result[1]; extract;")
    SET !EXTRACT NULL
    PROMPT {{!VAR1}}
    I don't know why it won't work but it works fine in Firefox but not in IE