• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to tell if iTunes is running.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to tell if iTunes is running.


  • Subject: Re: How to tell if iTunes is running.
  • From: Jens Alfke <email@hidden>
  • Date: Sat, 24 May 2008 14:11:03 -0700


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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

  • Follow-Ups:
    • Re: How to tell if iTunes is running.
      • From: "Mr. Gecko" <email@hidden>
    • Re: How to tell if iTunes is running.
      • From: Steve Christensen <email@hidden>
References: 
 >How to tell if iTunes is running. (From: "Mr. Gecko" <email@hidden>)
 >Re: How to tell if iTunes is running. (From: Nick Zitzmann <email@hidden>)
 >Re: How to tell if iTunes is running. (From: "Mr. Gecko" <email@hidden>)
 >Re: How to tell if iTunes is running. (From: Steve Christensen <email@hidden>)

  • Prev by Date: Re: Re: Quit iTunes
  • Next by Date: Re: How to tell if iTunes is running.
  • Previous by thread: Re: How to tell if iTunes is running.
  • Next by thread: Re: How to tell if iTunes is running.
  • Index(es):
    • Date
    • Thread