sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #24306
Re: [Question #244228]: how to write signature with mouse in sikuli
Question #244228 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/244228
obiwan-92 posted a new comment:
You're welcome.
I suppose that's mean you find the answer on your own. ;-)
For the others in the same case who asking the same question, x and y are the coordonate to reach.
to draw a line between two points p1 and p2 respectively the coordonnate (x1, y1) and (x2, y2)
You have to write this code :
hover(Location(x1, y1))
mouseDown(Button.LEFT) # Begin to write your signature
hover(Location(x2, y2))
mouseUp() # Stop to write
Try it on the paint application and you see it will draw you a line
between this two points.
Regards.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.