← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #687647]: Drag and Drop

 

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

RaiMan proposed the following answer:
This is my test on Mac:

on the Safari favourites page I am moving icons around:

img1 = "img1.png"
img2 = "img2.png"
img3 = "img3.png"
switchApp("safari")
for img in [img1, img2, img3]:
  find(img).highlight(1)
dragDrop(img1, img3) # move it somewhere
wait(1)
dragDrop(img1, img2) # move it back

worked as expected.

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