3

Possible Duplicate:
Controlling the mouse from Python in OS X

I'm trying to control the system cursor position on Mac OS X 10.6 with Python. Can I do this directly, and if so how? Or would I have to use something like PyObjC?

Thanks for the help.

Community
  • 1
  • 1
hao_maike
  • 2,929
  • 5
  • 26
  • 31
  • I'd imagine you'd need to use PyObjC, or write a shell utility to do the heavy lifting and `os.system` it. Check out this link, found with a 1 minute google search: http://mail.python.org/pipermail/bangpypers/2011-January/005572.html – btown Jun 19 '11 at 01:05
  • What librarys are you using (if any), some can move the mouse. For example Pygame has `pygame.mouse.set_pos`. – Max Jun 19 '11 at 01:19

0 Answers0