sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #20797
Re: [Question #235392]: If else
Question #235392 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235392
RaiMan proposed the following answer:
tried with slow motion?
does the cursor move to image1?
any error messages?
BTW:
for i in range(153):
if not exists(IMAGE1):
wait(4)
type(Key.F5)
continue
# your stuff on indent level 1
wait(,1)
find(Pattern(image1).similar(0.94))
click(Pattern(image1).similar(0.89).targetOffset(42,-3)),
are all these image1 the same images?
if yes:
for i in range(153):
if exists(Pattern(image1).similar(0.94).targetOffset(42,-3)):
break
type(Key.F5)
wait(4)
click(getLastMatch())
And again: pls read carefully at least through faq 1800
On the other hand I do not fully understand what you want to achieve.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.