sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #29098
Re: [Question #256650]: Search Pattern from a click image
Question #256650 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/256650
Status: Open => Answered
RaiMan proposed the following answer:
Nevertheless:
using findAll is the only possible startegy:
# repeat this until no matches are found any longer
matches = findAll(someImage)
# now decide which one of the matches to use for clicking (see comment)
click(selectedMatch)
comment: You might sort the matches according to their distance to some
top left corner and then the selectedMatch might be the first one (the
most top left of the matches)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.