sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #54011
Re: [Question #688352]: Mouse stuck in loop
Question #688352 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688352
Eric G posted a new comment:
Hi again,
I've been messing around with findAll and other similar functions from
the documentation page...
while True:
testpics = ("1580408084658.png","1580408094920.png","1580408102639.png")
matches = findAll(testpics)
if matches:
click(Last.Match)
else:
print "not found"
also tried stuff like
while True:
Match match = reg.findAll("pic1","pic2","pic3")
if Match in match:
click()
I just want the program to continuously look for and click pic1,2,3 but
stop when a region is occupied or click only once per match, something
along those lines. I'm not sure if I'm even close to being on the right
track, I'm still too much of a novice to understand how to do things
properly. Can you please recommend some tutorials or video guides that
aren't outdated? I really would like to get my stuff to work.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.