< Previous PageNext Page > Hide TOC

Manipulating Applications

This task explains how to use NSWorkspace to manipulate applications. For information on how to use the .app extension, see “Use of .app Extension.”

Contents:

Manipulating Applications
Locating Applications
Hiding Applications


Manipulating Applications

The NSWorkspace methods launchApplication: and launchApplication:showIcon:autoLaunch: launch applications using Launch Services.. The application name can include or omit the .app extension.

Locating Applications

The fullPathForApplication: method returns the full path for an application, specified with or without the .app extension.

Hiding Applications

To hide all other applications, you can use the hideOtherApplications method. Since the user usually has access to this functionality through other means, you should rarely have to invoke this method.



< Previous PageNext Page > Hide TOC


© 2002, 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-03-06)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.