← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #233292]: Does sikuli support pinch function?

 

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

    Status: Open => Answered

obiwan-92 proposed the following answer:
Hi !

If I'm correct, you need to use wheel function like this :
wheel(psmrl, WHEEL_UP, 5) # Zoom in
wheel(psmrl, WHEEL_DOWN, 5) # Zoom out

psmrl is the image on which you want to zoom.
5 is an integer indicating the amoung of wheeling.

I hope it's helping.

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