← Back to team overview

sikuli-driver team mailing list archive

[Question #225840]: how to do 1 scan and then click on multiple targets of the same image (about 100)?

 

New question #225840 on Sikuli:
https://answers.launchpad.net/sikuli/+question/225840

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


-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.