sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #42576
Re: [Question #634289]: Drag and drop issue with Mac
Question #634289 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/634289
Status: Open => Answered
RaiMan proposed the following answer:
Just checked in same environment:
switchApp("Safari")
pFrom = "pfrom.png"
hover(pFrom)
mFrom = getLastMatch()
rTo = mFrom.offset(200, 200)
dragDrop(pFrom, rTo)
wait(2)
rFrom = Mouse.at()
mouseDown(Button.LEFT)
mouseMove(mFrom)
mouseUp()
wait(2)
works as expected and moves the Safari window forth and back
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.