Magnus Herold wrote:
Hi All,I'm trying to write an Automator action using Python, and I'm not yet that familiar with the lower levels of Mac programming. The input should be a list of iTunes track objects, and I get an NSAppleEventDescriptor object. I know how to extract the AEDescs from that, but I can't find a way turn these into appscript references that I can use normally to say e.g. track.name.set('blabla').
It's possible, but a non-trivial problem if you aren't already familiar with the inner workings of both Apple events and appscript. I don't have time to work on it myself, but could provide a few pointers on where to start looking. How keen are you to get your hands dirty?
has -- Control AppleScriptable applications from Python, Ruby and ObjC: http://appscript.sourceforge.net _______________________________________________ Pythonmac-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/pythonmac-sig
