sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #38419
Re: [Question #259577]: Is there a way to discard the background while image compareing
Question #259577 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/259577
Brad posted a new comment:
Sorry for resurrecting an old topic, but I'm using the code in Comment
#4 and was wondering if/how I can tell which was matched?
for example:
#usage
thereg=Region(324,321,648,429)
btn = findAny(["btn_bg1.png","btn_bg2.png","btn_bg3.png"], 20)
if btn;
if btn.filename == "btn_bg1.png": btn.rightClick()
else: btn.click()
else:
# do some error handling
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.