nappy-headed
Newbie
- Apr 4, 2010
- 27
- 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
CODE for a IF/THEN loop?????
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
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
CODE for a IF/THEN loop?????
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
Last edited: