Re: (no subject)
Re: (no subject)
- Subject: Re: (no subject)
- From: Steve Checkoway <email@hidden>
- Date: Fri, 11 Jan 2008 12:43:34 -0800
John Zorko wrote:
... now this works, but the system() command is _so_ inappropriate here
I think. What would be the best way to do this? On Windows, I would
probably use ShellExecuteEx() ... how do I do this on OSX? Carbon,
Cocoa ... either is ok (though my C++ is strong and my ObjC is weak) ...
Using Cocoa,
[[NSWorkspace sharedWorkspace] launchApplication:@"taskbar"];
Or you can use Launch Services (possibly the better approach),
<http://developer.apple.com/documentation/Carbon/Reference/LaunchServicesReference/Reference/reference.html>.
--
Steve Checkoway
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden