sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #01676
Re: [Question #148465]: Widening a Column
Question #148465 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/148465
Status: Open => Answered
RaiMan proposed the following answer:
dragDrop(from, to) needs 2 parameters. The first one is the location
that is clicked and dragged and the second is the target point, where
the mouse is moved and released.
So your example should be like this:
from = colWidth # should be a Region, Match or Location object
to = Location(from.x+70, from.y) # a new Location object
dragDrop(from, to)
or shorter:
dragDrop(colWidth, Location(colWidth.x+70, colWidth.y))
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.