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.

_______________________________________________
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