Question #689511 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689511
Status: Open => Answered
RaiMan proposed the following answer:
imgOn = "enabled.png"
imgOff = "disabled.png"
m = .findBest(imgOn, imgOff)
print m.getIndex(), m.getScore()
if m.getIndex() == 0:
print "enabled"
else:
print "disabled"
The details can be found in the docs
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp