← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #185207]: Holding down a button?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Are you not using Sikuli X (at least rc2) ?

since Sikuli X we have

keyDown(), KeyUp()

and

mouseDown(), mouseUp()

more info: see docs.

If you want to search (wait) and hold down in parallel, you have to
combine it with observe(FOREVER, background = True).

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