Re: [Sikuli-driver] [Question #269110]: Handler Type test
Question #269110 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269110 Status: Open = Answered RaiMan proposed the following answer: if we are talking about 1.1.0: type = event.getType() the possible types you might get (depending on the used onXXX): if type == ObserveEvent.VANISH: .APPEAR .CHANGE come back if it is not 1.1.0 (I will update the docs for 1.1.0 on monday) -- 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
[Sikuli-driver] [Question #269110]: Handler Type test
New question #269110 on Sikuli: https://answers.launchpad.net/sikuli/+question/269110 Hi. In the OnVanish and OnAppear handle how im able to test what is the type of event that happened on the screen. def myhandle(event): if event.type == VANISH: if event.type == APPEAR: does not work. Sorry if its a basic question. Im new to all of this. 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