Skip navigation.
 
mlRe: How to tell if iTunes is running.
FROM : Jens Alfke
DATE : Sat May 24 23:11:03 2008

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".

—Jens

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