← Back to team overview

sikuli-driver team mailing list archive

[Question #645666]: drag and drop from mouse current location to center of screen

 

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

I have code that drags and drops from a location to the center of the screen.
"x1 = 300
y1 = 300
x2 = 640
y2 = 512
dragDrop(Location(x1,y1),Location(x2,y2))"

is it possible to go from the mouses current location to the center of the screen.

"x1 = mouses current position
y1 = mouses current postion
x2 = 640
y2 = 512
dragDrop(Location(x1,y1),Location(x2,y2))"

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.