← Back to team overview

sikuli-driver team mailing list archive

[Bug 1224758] Re: [1.0.1] dragDrop() does not accept 3 parameters --- workaround

 

Tried this to mirror a window resize on Mac OS 10.11 with SikuliX 1.1.1.
The initial doc says there is an optional 3rd parameter.  Any chance for
a fix in 1.1.1? Otherwise, I have no way of finding the bottom right corner of a browser window with an unpredictable background.  KeyModifier.ALT works manually.....thanks

-- 
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