Mouse control in OS X

M

Mateo

Hi,

I'd like to be able to use python to control the mouse cursor in OS X.
( i.e. programmatically move it around, click things, etc...) Anyone
know the best way to do it on a Mac?

Thanks.
 
M

Mateo

I've played around with pygame, and it seems to have much of what I
need. Still, is there any way to initiate a mouse click from Python?

Thanks.
 
J

Jay Parlar

I've played around with pygame, and it seems to have much of what I
need. Still, is there any way to initiate a mouse click from Python?

Thanks.

In OS X, you'll probably need PyObjC. I've never had a chance to try it
myself, but if any package is going to let you control things like
native mouse clicks (outside of a custom GUI environment like PyGame,
wx, gtk, QT, etc.), it will probably be PyObjC.

Jay P.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,265
Latest member
TodLarocca

Latest Threads

Top