• 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
Getting the process name of an app that isn't launched
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting the process name of an app that isn't launched


  • Subject: Getting the process name of an app that isn't launched
  • From: John Scalo <email@hidden>
  • Date: Sat, 06 Jul 2002 22:05:43 -0700

Can LaunchServices or any other API tell me what the process name of an app
or app bundle will be when it's launched without actually launching it? For
example you may have "Microsoft Entourage" on disk but its process name will
be "Entourage".

In other words if the NSURL points to an app bundle, then if present it will
return the CFBundleName string, otherwise just the name of the app bundle
minus '.app'. And if it's a Carbon app with a resource fork it will read the
plst resource and similarly look for the CFBundleName key.

Thanks!
John
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Subclassing NSLayoutManager
  • Next by Date: Re: Preview in Internet Explorer
  • Previous by thread: Re: Subclassing NSLayoutManager
  • Next by thread: deriving behavior from a superclass' subclass?
  • Index(es):
    • Date
    • Thread