sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #29314
[Question #257830]: findAll and Iterator
New question #257830 on Sikuli:
https://answers.launchpad.net/sikuli/+question/257830
Hi guys.
I'm using findAll to search all equals images on my ROI but in differents positions. My code is bellow.
Pattern ponto = new Pattern("F:Looping Cenas\\Capturar2.png");
Iterator<Match> m = r.findAll(ponto);
Match ma;
if(m != null)
{
while(m.hasNext())
{
ma = m.next();
ma.highlight(2, "green");
}
}
When I run this the Sikuli just find one image and highlight it FOREVER, but on my ROI I have 7 equals images and the Sikuli finds only one.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.