Re: How to access iTunes using cocoa
Re: How to access iTunes using cocoa
- Subject: Re: How to access iTunes using cocoa
- From: "Paul Sanders" <email@hidden>
- Date: Tue, 26 Jan 2010 17:41:42 -0000
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@hidden>
To: "Ramesh P" <email@hidden>
Cc: <email@hidden>
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@hidden>
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@hidden, <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@hidden)
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:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden