← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #691302]: [HowTo] handling findFailed

 

Question #691302 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/691302

Javier Gonzales Rodriguez posted a new comment:
Thanks Masuo, it is working now!

I just did this...

rightRegion = Region(1186,447,173,63)


if rightRegion.findBest(Pattern("1592064085453.png").similar(0.98)) or rightRegion.findBest(Pattern("1592064049381.png").similar(0.98)):
    print "on screen"
else:
    print "is not there"

Thanks again!

Will be great if someone gives an example to handle find().
Am going to keep this open for a little more just in case.

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