← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #162221]: [Java] Button class not defined - use integer values or Java constants instead

 

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

bevan dequeker posted a new comment:
Thanks for suggesting the Robot framework.
I'll have a look.

What I need is drag-and-hold. 
Great if Robot has it.
Otherwise adding a whole new library just to put names onto integers is a bit overkill, and I'll stick to Sikuli, with:
MouseDown
MouseMove
pause
MouseUp
and use AWT's InputEvent.BUTTON1_MASK, which will future-proof it better than 16 does.

(BTW, it would still be good to have a Button class in the
org.sikuli.script package - for consistency/documentation sharing)

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