sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #33644
Re: [Question #269110]: [1.1.0] observe: Handler Type test
Question #269110 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269110
Status: Open => Answered
RaiMan proposed the following answer:
Sorry for misleading you --- was more hope than reality ;-)
I have still to implement getType() and of course update the docs.
You then will be able to say besides getType() returning a string:
isAppear(), isVanish(), isChange() returning True or False
I will do that as soon as possible.
Watch out on the nightly build page for a fix:
added: observe handler: getType()
For now, this is possible:
if str(e.type) == "APPEAR":
same for "VANISH", "CHANGE" and "GENERIC" (mouse moved handler)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.