Getting the process name of an app that isn't launched
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.