views:

30

answers:

1

Trying to write a program that allows users to control a program via global shortcuts. I already have a working version on windows using pyHook but can't figure out how to capture global input on a Mac. The other questions I have read here so far mostly seemed to be about Linux not Mac. (which is why I'm asking) Is there any way to do this?

A: 

I believe you could use PyObjC to handle the API hooks; look at this explanation for what to do.

katrielalex