Question #660710 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/660710
Status: Open => Answered
masuo proposed the following answer:
I can't understand what "struck" is meant.
Does mouse click on an unexpected position?
Try print region "orgReg" and region "nextReg".
Try highlight region "orgReg" and region "nextReg".
if exists(imgList[6], 2):
orgReg = getLastMatch()
orgReg.highlight(1) # <---add
print "orgReg:", orgReg # <---add
nextReg = orgReg.offset(orgReg.w, 0)
nextReg.highlight(1) # <---add
print "nextReg:", nextReg # <---add
nextReg.click()
--
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 : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp