Question #160030 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/160030
Status: Open => Answered
RaiMan proposed the following answer:
on Java level, findAll returns an object of type Iterator<Match>.
But neither find nor findAll return strings, they return Match objects,
that represent the found regions.
So the usage should be:
Iterator<Match> matches;
matches = s.findAll( [ANY_IMAGE] )
Now it should be possible to have a for loop that loops through matches.
You might sort the matches as needed before regarding to their
coordinates (x or y) or other available attributes of a Match object.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp