sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #11625
Re: [Question #202806]: color match
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.