← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #248294]: exists doesen't seem to work inside def!!

 

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

    Status: Open => Answered

Eugene S proposed the following answer:
Hi,

Each time you're not sure why something was or wasn't detected on the
screen, use highlight() function. Read about it here:

http://doc.sikuli.org/region.html#Region.highlight

When a pattern is detected, you will see its parameters. Maybe there is
a similarity threshold was set too low and you have another icon on the
screen that looks almost (more than 0.7) like another icon.

Give that a try.

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