← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #205306]: How to use Java code and Sikuli to click menu items

 

Question #205306 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/205306

    Status: Open => Answered

RaiMan proposed the following answer:
Ok, understood.

Then you should split the click action into the (underlying) basic mouse
actions, so you have more control on what happens.

And you should switch of the mouse animation (Settings.MoveMouseDelay).

a click would be:
mouseMove(image)
mouseDown(Button.LEFT)
mouseUp()

might be necessary to add some Thread.sleep() in between.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.