I use Cocoa's NSAppleScript class. This seems to work fine on Tiger, Leopard and Snow Leopard.
Should I be scared of the 'false timeout' bug? Mostly I just want to add tracks to the iTunes Music Library, although an efficient way to find a track by artist and title would be nice - scanning large libraries in AppleScript is very slow. And check out Doug's AppleScripts for iTunes - there's some interesting stuff in there. Paul Sanders. ----- Original Message ----- From: "Matt Neuburg" <m...@tidbits.com> To: "Ramesh P" <ramesh.pauldu...@gmail.com> Cc: <cocoa-dev@lists.apple.com> Sent: Tuesday, January 26, 2010 5:27 PM Subject: Re: How to access iTunes using cocoa On Tue, 26 Jan 2010 15:18:38 +0530, Ramesh P <ramesh.pauldu...@gmail.com> said: >Hi, >Is it possible to access iTunes from cocoa application? Is there any open >source framework for accessing iTunes? I use objc-appscript for this. It has some advantages over Apple's Scripting Bridge (for one thing, it's backwards compatible to 10.4; for another, it is not subject to the 10.6 Apple event "false timeout" bug). http://appscript.sourceforge.net/objc-appscript/index.html m. -- matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/> A fool + a tool + an autorelease pool = cool! AppleScript: the Definitive Guide - Second Edition! http://www.tidbits.com/matt/default.html#applescriptthings _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/p.sanders%40alpinesoft.co.uk This email sent to p.sand...@alpinesoft.co.uk _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com