Reputation: 3578
I want to use a python program to move the cursor around on the screen and click on a specific location in Mac OS.
I have seen some good threads on this for Windows and Ubuntu, but I'm looking for OSX.
Windows: Using Perl, Python, or Ruby, how to write a program to "click" on the screen at scheduled time?
Ubuntu: How to click on a coordinate on a screen?
Upvotes: 3
Views: 1484
Reputation: 12110
Instead of searching for "how to move the cursor in OSX using Python", you'll find much better results if you search for "how to move the cursor in OSX", then search for how to use that interface with Python.
It seems that Objective-C/Cocoa is used to integrate with the native Mac OS X interface, and the Python documentation recommends using PyObjC as a Python binding to Apple’s Objective-C/Cocoa framework.
Hopefully this is enough information to get you on your way.
Upvotes: 1