← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #163684]: [Java] can not use mouseMove() --- workaround: use hover() instead

 

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.