sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #39753
[Bug 1224758] Re: [1.0.1] dragDrop() does not accept 3 parameters --- workaround
ok, tried a workaround like this:
keyDown(KeyModifier.ALT)
dragDrop(loc, Location(x,y))
keyUp()
but didn't work, used it this way and it worked
keyDown(Key.ALT)
dragDrop(loc, Location(x,y))
keyUp()
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1224758
Title:
[1.0.1] dragDrop() does not accept 3 parameters --- workaround
Status in Sikuli:
Fix Committed
Bug description:
------------- workaround
keyDown(Key.CTRL)
dragDrop(src, target)
keyUp()
------------------------------------------------------------
script:
srcfile = find("srcfile.png")
dragDrop(srcfile,Location(srcfile.x+50,srcfile.y),KeyModifier.CTRL)
Error:
[error] TypeError ( dragDrop(): expected 1-2 args; got 3 )
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1224758/+subscriptions
References