sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #04728
Re: [Question #168536]: Loop script won't work
Question #168536 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/168536
Mike gave more information on the question:
This is how i wanted it too be:
IF image1 exists repeat from beginning of script, IF image2 exists break
and continue to next turn.....
# --- this loops as long as img is visible: I think i got this wrong as what it to loop when it sees image1
if exists(image1 is for it to repeat loop), 0):
click getLastMatch()
if exists(image2 is for it to brack loop and continue ):
continue # skip the rest and start next turn
popup("Under ATTACK!")
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.