Re: What is -launchApplication:'s "name of the application"

2009-03-21 Thread Michael Ash
On Sat, Mar 21, 2009 at 6:17 PM, Jerry Krinock 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

Re: What is -launchApplication:'s "name of the application"

2009-03-21 Thread Jerry Krinock
I was just thinking about the Discussion in the documentation some more, and it implies that the name would be the name of the .app package in the filesystem. So, that might be the answer, but then, this is going to break if the user changes the name of the package. Seems odd.

What is -launchApplication:'s "name of the application"

2009-03-21 Thread Jerry Krinock
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