This task explains how to use NSWorkspace to manipulate
applications. For information on how to use the
see Use of .app Extension.
The NSWorkspace methods
launchApplication:showIcon:autoLaunch: launch applications using Launch Services.
The application name can include or omit the
returns the full path for an application, specified with or without
To hide all other applications, you can use the
Since the user usually has access to this functionality through
other means, you should rarely have to invoke this method.