Question #227960 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/227960

    Status: Open => Answered

RaiMan proposed the following answer:
the simplest method:

reg = some_region_to_observe
img = capture(reg) # take a shot
wait(1)
while reg.exists(Pattern(img).similar(0.99),0): wait(1)
print "region content changed

for usage of observe look http://doc.sikuli.org/region.html#observing-
visual-events-in-a-region and search in this Q&A's

-- 
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

Reply via email to