← Back to team overview

sikuli-driver team mailing list archive

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

 

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

arminius gave more information on the question:
I need to be able to have it done on the fly though.
something like this "hover(Pattern("185693845869.png").targetOffset(29,29))
x1 = ml.getX()
y1 = ml.getY()
x2 = 640
y2 = 512
dragDrop(Location(x1,y1),Location(x2,y2))"

That throws "[error] NameError ( name 'ml' is not defined )" though.

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