1

I think I would be able to do this by modifying iTunes' launch services. Any idea how to go about that?

Would editing its info.plist file in a manner similar to below do what I'm looking for?

<key>LSOpenApplication</key>

<string>?</string>

EDIT: Would http://developer.apple.com/library/mac/#documentation/Carbon/Reference/LaunchServicesReference/Reference/reference.html%23//apple_ref/c/func/LSOpenApplication provide any hints?

EDIT2: Last.fm's official Mac Scrobbler (http://www.last.fm/download) is a perfect example of the functionality that I'm looking for.

3
  • 3
    Couldn't you just add it to your login items and keep it running all the time?
    – Daniel Beck
    Oct 1, 2010 at 22:45
  • @DanielBeck I'm just being anal about RAM used by an application that I never seem to find myself interacting with. Quicksilver seems to replicate all of its UI functionality in a keyboard-friendly manner.
    – Orion751
    Mar 10, 2011 at 14:44
  • @DanielBeck It'd also be nice to have GrowlTunes using precious menu bar space less often.
    – Orion751
    Mar 10, 2011 at 15:33

1 Answer 1

1

The best way to do this is create an AppleScript that launches both applications, save that applescript as an application and use that to launch iTunes and GrowlTunes.

In Mac OS X, there is no (easy) functionality that detects application launches.

However, GrowlTunes is designed to be an always open menu extra application, and in fact has a way to launch iTunes from its menu extra. Why not just add it to your login items?

4
  • First approach fails e.g. with media keys launching iTunes, or iTunes start via iTunes Store website redirect.
    – Daniel Beck
    Oct 3, 2010 at 10:34
  • I noticed iTunes creates temporary files during launch in ~/Music/iTunes, but they don't exist long enough to trigger a "alert new items" Folder Action, so going that way wouldn't work either.
    – Daniel Beck
    Oct 3, 2010 at 10:43
  • I thought of this method before but turned it down for some reason. Don't remember why; guess I was wondering if there was a more elegant solution, but that doesn't seem to be the case. I guess I could effectively "replace" iTunes in the dock and train Quicksilver and there'd be no difference.
    – Orion751
    Mar 10, 2011 at 14:50
  • That's right: My main gripe against this was that it'd force me to have 2 dock icons for iTunes, but being the keyboard-oriented guy I am I should be satisfied if this is the only solution available.
    – Orion751
    Mar 10, 2011 at 15:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .