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


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

  1. nappy-headed

    nappy-headed Newbie

    Apr 4, 2010
    Likes Received:
    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