Re: How to tell if iTunes is running.
Re: How to tell if iTunes is running.
- Subject: Re: How to tell if iTunes is running.
- From: "Mr. Gecko" <email@hidden>
- Date: Sat, 24 May 2008 17:31:43 -0500
I agree that the bundle identifier is more reliable thanks for the
tip. I am going to be using it
On May 24, 2008, at 4: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".
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden