← Back to team overview

sikuli-driver team mailing list archive

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

 

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

I have an application that takes "long clicks" - where the mouse is clicked, you wait about a second, and then release to activate the feature.  I would like to be able to do something like r.longclick(pattern), just like normally you do r.click(pattern).  How do I extend the region class to do this?  I know how to code the long click with the low-level mouse functions (move it, down, wait, up). I just don't know how to integrate it into the region object.

Thanks,

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