how to do 1 scan and then click on multiple targets of the same image (about 100)?
Hi guys,
I have just started to figure out sikuli and have come across something I can't figure out.
Im trying to 'scan' a region and with one single scan pick up on about 100 of my target images and then I would like to click on each one of these 100 targets one after the other with no repeats.
I have played around with the match similarity settings and the number of samples and have managed to pick all my targets up, however the code that I wrote seems to 'scan' after everytime it clicks on one rather than to click on all of them after the single initial scan.
Any suggestions and tips are very appreciated.
here is my snippet of the related example code:
while exists (Pattern("Image 1").similar(0.55)):
if exists (Pattern("Image 1").similar(0.55)):
click (getLastMatch())
Looking forward to working some more with Sikuli
thank you very much
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- JD
- Solved:
- Last query:
- Last reply: