Enumeration

NSWorkspaceLaunchOptions

Declaration

typedef enum NSWorkspaceLaunchOptions : NSUInteger {
    ...
} NSWorkspaceLaunchOptions;

Topics

Constants

NSWorkspaceLaunchAndPrint

Print items instead of opening them.

Deprecated
NSWorkspaceLaunchWithErrorPresentation

Display an error panel to the user if a failure occurs.

Deprecated
NSWorkspaceLaunchInhibitingBackgroundOnly

Causes launch to fail if the target is background-only.

Deprecated
NSWorkspaceLaunchWithoutAddingToRecents

Do not add the app or documents to the Recents menu.

Deprecated
NSWorkspaceLaunchWithoutActivation

Launch the app but do not bring it into the foreground.

Deprecated
NSWorkspaceLaunchAsync

Launch the app and return the results asynchronously.

Deprecated
NSWorkspaceLaunchAllowingClassicStartup

Start up the Classic compatibility environment, if it is required by the app.

Deprecated
NSWorkspaceLaunchPreferringClassic

Force the app to launch in the Classic compatibility environment.

Deprecated
NSWorkspaceLaunchNewInstance

Create a new instance of the app, even if one is already running.

Deprecated
NSWorkspaceLaunchAndHide

Tell the app to hide itself as soon as it has finished launching.

Deprecated
NSWorkspaceLaunchAndHideOthers

Hide all apps except the newly launched one.

Deprecated
NSWorkspaceLaunchDefault

Launch the app asynchronously and launch it in the Classic environment, if required.

Deprecated

See Also

Manipulating Applications

- launchApplication:

Launches the specified app.

Deprecated
- launchApplication:showIcon:autolaunch:

Launches the specified app using additional options.

Deprecated
- launchApplicationAtURL:options:configuration:error:

Launches the app at the specified URL.

Deprecated
- hideOtherApplications

Hides all applications other than the sender.

NSWorkspaceLaunchConfigurationKey

The following keys can be used in the configuration dictionary of the launchApplicationAtURL:options:configuration:error: method. Each key is optional, and if omitted, default behavior is applied.

Deprecated