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" <[email protected]> To: "Ramesh P" <[email protected]> Cc: <[email protected]> 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 <[email protected]> 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 = [email protected], <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 ([email protected]) 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 [email protected] _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
