Question #163684 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/163684
Status: Open => Answered
RaiMan proposed the following answer:
sorry, for having been blind :-(
the class Button is not available on the Python side.
As already mentioned, that is under repair now (hope for rc3)
meanwhile use this (from Python class Button):
from java.awt.event import InputEvent
# has to be translated to Java ;-)
LEFT = InputEvent.BUTTON1_MASK
MIDDLE = InputEvent.BUTTON2_MASK
RIGHT = InputEvent.BUTTON3_MASK
--
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 : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp