On Sat, Mar 21, 2009 at 6:17 PM, Jerry Krinock <je...@ieee.org> wrote:
> From NSWorkspace documentation,
>   - (BOOL)launchApplication:(NSString *)appName
>
>      Parameters > appName > The name of the application to open.
>
> Well, applications can have several names, so I believe this is ambiguous.
>
> My guess is that, in this context, "name" means the CFBundleIdentifier value
> in the application's Info.plist.  Did I guess correctly?

You're correct that it's ambiguous, not only because applications can
have several names, but because several applications can have the same
name.

The answer here is not to use this method at all. The bundle ID is the
proper way to uniquely identify an application, use a method which
takes that instead.

Mike
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to