sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #33633
Re: [Question #269110]: [1.1.0] observe: Handler Type test
Question #269110 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269110
Status: Answered => Open
Tetsuo is still having a problem:
Humm..sorry if its to obvious, but what is ObserveEvent?
I thought the handler receives SikuliEvent as a parameter.
Also,
event.getType() does not seen to work. Here is my code
def MyHandler(event):
print event.type #prints VANISH
event_type = event.getType()
print event_type #prints nothing.
if event.type == ObserveEvent.VANISH
print xxxx #prints nothing
Thanks.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.