Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
3  
Couldn't you just add it to your login items and keep it running all the time? –  Daniel Beck Oct 1 '10 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 '11 at 14:44
    
@DanielBeck It'd also be nice to have GrowlTunes using precious menu bar space less often. –  Orion751 Mar 10 '11 at 15:33
add comment

2 Answers

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?

share|improve this answer
    
First approach fails e.g. with media keys launching iTunes, or iTunes start via iTunes Store website redirect. –  Daniel Beck Oct 3 '10 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 '10 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 '11 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 '11 at 15:30
add comment

As a last resort, also try Bowtie for Mac.

share|improve this answer
1  
When answering questions, solely recommending software is discouraged. If a part of your solution involves the use of a particular piece of software, I would consider using this meta post as a guideline. –  KronoS Aug 14 '12 at 15:20
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.