sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #13441
[Question #209885]: leaving a condition
New question #209885 on Sikuli:
https://answers.launchpad.net/sikuli/+question/209885
hi, am beginner, and I'm having difficulty in this, after entering "while wewait" I can not go back to "while true". really want to make an infinite sequence continues with this script. I think in "if not (md1 and md2)": I can put it back to a command "while true" or the first line.
is that all right? help me please
while True:
wait(img, forever)
click (img,5)
wewait=5
while wewait>1:
md1=exists(md1)
md2=exists(md2)
if md1 or md2:
wait(1)
wewait-=1
if not (md1 and md2):
???????????????????
if md1:
click(img)
click(img)
click(img)
if md2:
click(img)
click(img)
click(img)
click(img)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.