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

    Status: Open => Answered

RaiMan proposed the following answer:
You have to work along the Java outline:

// one has to combine observed event and its handler
// overriding the appropriate method
someRegion.onChange(
        new ObserverCallBack() {
                @Override
                public void appeared(ObserveEvent event) {
                        // here goes your handler code
                }
        }
);
// run observation in foreground for 10 seconds
someRegion.observe(10)

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

Reply via email to