← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #228089]: howto extend region class for long click?

 

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

    Status: Answered => Solved

Chris Kiick confirmed that the question is solved:
I might look into making some sort of "click delay" interface. There are
other requests for it.

I decided I didn't need to integrate the function into the region
object, I just use it stand-alone.  Here'w what I did.

def longClick(loc):
    mouseMove(loc)
    mouseDown(Button.LEFT)
    wait(1.0)
    mouseUp(Button.LEFT)

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