• 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: wrong list for questions about iTunes scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wrong list for questions about iTunes scripting


  • Subject: Re: wrong list for questions about iTunes scripting
  • From: Philip Aker <email@hidden>
  • Date: Mon, 22 Jun 2009 21:56:49 -0700

On 2009-06-22, at 21:44:26, Eric Lim wrote:

I'm fairly new to Xcode and ObjC, would appreciate some help / pointers in the right direction.

I've written a small app which uses the Cocoa scripting bridge to query iTunes for its current playlist, and presents the entries in a NSTableVIew, letting me play individual tracks from the list when I double click on an entry. So far so good.

If I stop or change the track through this scripting bridge, I will obviously know when a change has occurred. However, how do I know if the track or playlist is changed via iTunes directly? I don't wish to poll iTunes to keep track of its state, if I can possibly avoid it. Is there a way I can be notified of a change in iTunes state?

Cheers for any help,

You probably want to ask questions about scripting over here: <http://lists.apple.com/mailman/listinfo/applescript-implementors >.
I suspect you're going to have to poll.



Philip Aker echo email@hidden@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Xcode-users Digest, Vol 6, Issue 305 (From: Eric Lim <email@hidden>)

  • Prev by Date: Re: Xcode-users Digest, Vol 6, Issue 305
  • Next by Date: iPhone Developer Forums now open for iPhone OS 3.0 SDK discussions
  • Previous by thread: Re: Xcode-users Digest, Vol 6, Issue 305
  • Next by thread: Linking problem - dyld: Library not loaded
  • Index(es):
    • Date
    • Thread