sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #32969
Re: [Question #268175]: Loop two different actions in Sikuli forever
Question #268175 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268175
Hashtag123 gave more information on the question:
When I use "exists" instead of "not exists" it is still very slow:
wait(10)
while True:
while True:
if exists(Pattern(Pattern("02_right-1.png").similar(0.75)),0):
type(Key.RIGHT)
break
else:
type(Key.LEFT)
while True:
if exists(Pattern(Pattern("04_left-1.png").similar(0.75)),0):
type(Key.LEFT)
break
else:
type(Key.RIGHT)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.