Search code examples
cocoaitunesnsnotifications

NSDistributedNotificationCenter and iTunes


is there a way to send notifications to iTunes so it will tell me the current song. i know it will send a notification when the song changes but i want to get the current song when my application opens up. I am trying to avoid using the scripting bridge.


Solution

  • Unfortunately you can't do this with notifications, your only option is the Scripting Bridge or other Apple Event-related methods.