Question #216028 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/216028
Status: Open => Answered
RaiMan proposed the following answer:
import java.util.*;
public class NewClass {
ArrayList<Match> matches = new ArrayList<Match>();
void test() throws FindFailed {
Iterator<Match> ms = (new Screen()).findAll("image.png");
while (ms.hasNext()) {
matches.add(ms.next());
}
for (Match m : matches) {
System.out.println(m);
}
}
}
Hope it helps.
--
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