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

    Status: Open => Answered

j proposed the following answer:
you can use the onChange listener to do this, if you don't know how your
image looks like:

def handler(event):
    print "the region changed:"+`event`

region.onChange(handler, 10)
region.observe(5)

This will observe the region for 5 seconds and execute the script that
is defined in the handler() method if the region changes during that
time

-- 
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     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to