← Back to team overview

sikuli-driver team mailing list archive

[Question #678309]: Gradually reducing MinSimilarity

 

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

Hi, thanks for your work maintaining this script. I wonder, is there a way to gradually reduce the MinSimilarity? You can set it to a specific value, but is it possible to reduce it by 0,01 continuously within a loop until it finds an image?  Something like

Settings.MinSimilarity=1
loop
    if image exists 
        do thing
        break
    else
        decrease MinSimilarity by 0,01


-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.