← Back to team overview

sikuli-driver team mailing list archive

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

 

** Summary changed:

- dragDrop() does not accept 3 parameters
+ [1.0.1] dragDrop() does not accept 3 parameters --- workaround

** Changed in: sikuli
       Status: New => Fix Committed

** Changed in: sikuli
   Importance: Undecided => High

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
    Milestone: None => 1.1.0

** Description changed:

- OS: windows7 
- Sikuli : SIkuli IDE 1.0.1
+ ------------- workaround
+ keyDown(Key.CTRL)
+ dragDrop(src, target)
+ keyUp()
+ ------------------------------------------------------------
  
  script:
-    srcfile = find("srcfile.png")
-    dragDrop(srcfile,Location(srcfile.x+50,srcfile.y),KeyModifier.CTRL)
+    srcfile = find("srcfile.png")
+    dragDrop(srcfile,Location(srcfile.x+50,srcfile.y),KeyModifier.CTRL)
  
  Error:
  [error] TypeError ( dragDrop(): expected 1-2 args; got 3 )

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