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

    Status: Open => Answered

RaiMan proposed the following answer:
Make a screenshot of the green version: cbGreen

the region, where the checkbox should be: cbRegion

if cbRegion.exists(Pattern(cbGreen).similar(0.99)):
    print "should be green"
else:
    print "should be gray"

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to