Question #658728 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/658728
Status: Open => Answered
masuo proposed the following answer:
Try this codes.
def handler1_5(event):
click(event.getMatch())
event.stopObserver()
r1 = Region(100,100,300,300)
r1.highlight(1)
r1.onAppear("image1_5.png", handler1_5)
r1.observe(FOREVER,True)
r1.wait("image1.png", FOREVER)
r1.click()
r1.wait("image2.png", FOREVER)
r1.click()
r1.stopObserver()
popup("Click [OK] to finish")
--
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