iTunes Apple Events API

Posted by jldupont on Stack Overflow See other posts from Stack Overflow or by jldupont
Published on 2010-05-09T13:11:29Z Indexed on 2010/05/09 13:18 UTC
Read the original article Hit count: 368

Filed under:
|
|
|

I'd like to control iTunes through Objective-C ( I just can't get Python appscript installed correctly on my OS/X 10.6.3 system ... that would have been my first choice ).

From what I gather, the IPC on Cocoa is based on Apple Events : is there either:

  1. Online documentation on iTunes / Apple Events API ?
  2. Instrospection mechanism to get to iTunes API?

I know about Applescript Editor / Open Dictionary functionality but I can't figure out how to translate the information I see into IPC calls.

Note: I have already tried working out a solution through PyObjC but the main function I am after is track searching which I can't figure out.

Disclaimer: OS/X super-newbie here.

© Stack Overflow or respective owner

Related posts about osx

Related posts about appleevents