Question #183598 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/183598
Status: Open => Answered
RaiMan proposed the following answer:
give the observation feature a try ( http://sikuli.org/docx/region.html
#observing-visual-events-in-a-region ).
general example quick&dirty ;-)
def handler(event):
global isChanged
event.region.stopObserver()
isChanged = True
isChanged = False
reg = <the region of GUI, that should change>
reg.onChange(handler)
reg.observe(10)
assert isChanged
--
You received this question notification because you are a member of
Sikuli Drivers, which 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