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

IMACROs CODE help

Discussion in 'BlackHat Lounge' started by nappy-headed, May 4, 2010.

  1. nappy-headed

    nappy-headed Newbie

    Joined:
    Apr 4, 2010
    Messages:
    27
    Likes Received:
    14
    I have created some code within imacros that searches a condition. Basically I want a search (loop) until the condition changes to a expect field (a check box) becomes available I do have imacros scripting version however need it to work within FF version TRUE/FALSE or IF/THEN ---have the code above ******* MY CODE (LOOP) TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:search ATTR=NAME:sld CONTENT={{!VAR1}} TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:search ATTR=ID:submitsearch *****LOOP ******** If condition becomes available (DO THIS) 'TAG POS=1 TYPE=INPUT:CHECKBOX FORM=NAME:frmlego ATTR=NAME:legotype CONTENT=YES ----have the code below RESEARCH; this is the condition example I found ReturnCode = iim1.iimPlay ("YourMacro1") if ReturnCode = 1 then end 'Do something MsgBox "OK!" else 'Do something else ReturnCode = iim1.iimPlay ("YourMacro2") end if