I know that there is the PyObjC bridge is OSX and what I want to do is to put a python application/script in the rightclick context menu of OS X. there is the OnMyCommand plugin but I dont think that supports python. I've had a look at how to do it in Carbon/ Objective-C and i'll admit it im a wuss and am just not smart enough yet to grok how to do it (I aint even close to groking it actually.)
Anybody got any idea's on how I might go abou开发者_如何学Ct this?
Cheers
Looking through the documentation for OnMyCommand (neat find by the way) I would say you shouldn't have any problem using a Python script. Just make sure the Python script is executable and in your PATH.
Going along with the example in 1, instead of executing touch
you would simply execute your Python script.
精彩评论