sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #37830
Re: [Question #292741]: Event hadling doesnot loop
Question #292741 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/292741
Status: Open => Answered
RaiMan proposed the following answer:
not the intended use:
clickenter is a callback, that is called in case the defining event
(onWhatever()) happens
so this is correct:
onAppear(imagelibrary.ERROR, clickenter)
your usage calls clickenter in the moment the onAppear is processed,
which is surely not what you want.
So you have to completely revise your usage of observe based on the docs.
Be sure to use SikuliX version 1.1.0+
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.