Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add double click with mod function #83

Closed
tomatobrown opened this issue Jun 2, 2014 · 5 comments
Closed

Please add double click with mod function #83

tomatobrown opened this issue Jun 2, 2014 · 5 comments

Comments

@tomatobrown
Copy link
Contributor

Can one of the contributors add this to AXClasses?

def doubleMouseButtonLeftWithMods(self, coord, modifiers):
''' Double Click the left mouse button with modifiers pressed

      Parameters: coordinates to click; modifiers (list)
      Returns: None
  '''
  modFlags = self._pressModifiers(modifiers)
  self._queueMouseButton(coord, Quartz.kCGMouseButtonLeft, modFlags)
  self._queueMouseButton(coord, Quartz.kCGMouseButtonLeft, modFlags,
                         clickCount=2)
  self._releaseModifiers(modifiers)
  self._postQueuedEvents()
@tomatobrown
Copy link
Contributor Author

Also if you could add: doubleClickDragMouseButtonLeft that would be helpful too :)

@nagappan
Copy link
Member

nagappan commented Jun 4, 2014

DnD related work is pending in this issue - #65 if someone could rework and submit it, I'm ready to pull them. Thanks

@nagappan
Copy link
Member

nagappan commented Jun 4, 2014

Can you please send a pull request for this issue, I can merge it. Thanks

@tomatobrown
Copy link
Contributor Author

done

@nagappan
Copy link
Member

nagappan commented Jun 9, 2014

Closing based on #86

@nagappan nagappan closed this as completed Jun 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants