Re: iTunes Programming
Re: iTunes Programming
- Subject: Re: iTunes Programming
- From: "Finlay Dobbie" <email@hidden>
- Date: Tue, 11 Jul 2006 11:31:30 +0100
On 10/07/06, Philip Lukidis <email@hidden> wrote:
I need to control iTunes, though I have not received a precise specification request yet. I know that I'll have to query the library database, find out which track is playing, be notified for library/playlist/track changes, and other similar requests (sorry to be so vague). I thought it preferable to use Apple Events for speed, and while I would guess that this is possible, I have not found any Apple documentation on how to do so. Could anyone point me towards some documentation on this? I'd rather not rely on Applescript if I could avoid it, so as to minimize response times. Apple events would seem to be preferable, at least prima facie.
AppleScript is only slow if you need to recompile it all the time. Use
a pre-compiled script and call functions in it directly. There are
examples of doing that at
<http://www.cocoadev.com/index.pl?CallAppleScriptFunction>.
-- Finlay
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden