Re: launching applications within/by cocoa/carbon programs
Re: launching applications within/by cocoa/carbon programs
- Subject: Re: launching applications within/by cocoa/carbon programs
- From: Stéphane Sudre <email@hidden>
- Date: Mon, 4 Aug 2003 12:34:50 +0200
On lundi, ao{ 4, 2003, at 06:16 Europe/Paris, Andre Bocchini wrote:
Try this (taken from the NSWorkspace documentation):
- (BOOL)launchApplication:(NSString *)appName
Depending on whether the application is a tool or an application, I
would not use this API in the second case.
Since the name of the Application can be modified by the user, it might
be worth finding the path/url of the application using the
LaunchService Framework using the bundle ID or creator. Then the
application can be launched using the CFURLRef.
_______________________________________________
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.