• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iTunes Programming
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >iTunes Programming (From: "Philip Lukidis" <email@hidden>)

  • Prev by Date: Re: Render DVD into GWorldPtr?
  • Next by Date: Re: file ICONS
  • Previous by thread: Re: iTunes Programming
  • Next by thread: RE: iTunes Programming
  • Index(es):
    • Date
    • Thread