[Mono-osx] Access iTunes using C#

Geoff Norton gnorton at novell.com
Thu Jan 17 14:42:37 EST 2008

On 17-Jan-08, at 2:29 PM, Bart Masschelein wrote:

> So if I get it right, there is no way around using Applescript. This  
> NSAppleScript or ScriptBridge both are concepts I've never heard of  
> before, but we're never to old to learn, are we? Suppose I create an  
> AppleScript to fetch all songs of a certain playlist, do the above  
> allow me to get this list in objc, and eventually to C#, where I can  
> for instance compare them with other playlists? Or in other words,  
> could I do something like this (under the premises that this is all  
> very premature):

No.  There is no way to get around using the AppleScript Bridge, but  
everything I proposed would have you writing code in C#.  The C# code  
would talk tot he objc runtime; which would talk to the AppleScript  
bridge which would talk to the AppleScript interface exposed by itunes.


More information about the Mono-osx mailing list