Skip navigation.
 
mlRe: How to tell if iTunes is running.
FROM : Steve Christensen
DATE : Sat May 24 23:18:33 2008

On May 24, 2008, at 2:11 PM, Jens Alfke wrote:

> On 24 May '08, at 12:05 PM, Steve Christensen wrote:
>

>> Would something like this work better? It should deal with 
>> localization or if the user renames iTunes for some reason.

> ...

>>  if ([[applicationD objectForKey:@"NSApplicationPath"] 
>> isEqualToString:iTunesPath])

>
> It would be simpler just to use the "NSApplicationBundleIdentifier" 
> key, comparing it with "com.apple.iTunes".


I didn't see that in the headers but it is in the docs. Yes, that'd 
work better.

Related mailsAuthorDate
mlHow to tell if iTunes is running. Mr. Gecko May 24, 00:01
mlRe: How to tell if iTunes is running. Nick Zitzmann May 24, 00:07
mlRe: How to tell if iTunes is running. Mr. Gecko May 24, 17:29
mlRe: How to tell if iTunes is running. Steve Christensen May 24, 21:05
mlRe: How to tell if iTunes is running. Thomas Engelmeier May 24, 22:22
mlRe: How to tell if iTunes is running. Jens Alfke May 24, 23:11
mlRe: How to tell if iTunes is running. Steve Christensen May 24, 23:13
mlRe: How to tell if iTunes is running. Steve Christensen May 24, 23:18
mlRe: How to tell if iTunes is running. Mr. Gecko May 25, 00:31
mlRe: How to tell if iTunes is running. has May 25, 00:40