how do i put a condition into the imacro script
Posted: Wed May 13, 2009 10:02 pm
Situation:
I want to scan a webpage and look out for a "keyword" to appear. If the "keyword" appears i will do nothing but just let the script continue running to the following line. However, if the "keyword" does NOT appear(the condition is not met) i want to retrace a couple(say 5 lines) of lines of script and run the script again.
10 script starts....
20
30
40 check for kw existence on page
50 if found - goto 70
else goto 60
60 goto 10
70 script continues....
Pardon my english. I hope I explained it clearly enough for someone to be able to help me. Gracias
I want to scan a webpage and look out for a "keyword" to appear. If the "keyword" appears i will do nothing but just let the script continue running to the following line. However, if the "keyword" does NOT appear(the condition is not met) i want to retrace a couple(say 5 lines) of lines of script and run the script again.
10 script starts....
20
30
40 check for kw existence on page
50 if found - goto 70
else goto 60
60 goto 10
70 script continues....
Pardon my english. I hope I explained it clearly enough for someone to be able to help me. Gracias