Structure

NSWorkspace.LaunchOptions

Topics

Constants

static var andPrint: NSWorkspace.LaunchOptions

Print items instead of opening them.

static var withErrorPresentation: NSWorkspace.LaunchOptions

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

static var inhibitingBackgroundOnly: NSWorkspace.LaunchOptions

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

static var withoutAddingToRecents: NSWorkspace.LaunchOptions

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

static var withoutActivation: NSWorkspace.LaunchOptions

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

static var async: NSWorkspace.LaunchOptions

Launch the app and return the results asynchronously.

static var allowingClassicStartup: NSWorkspace.LaunchOptions

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

Deprecated
static var preferringClassic: NSWorkspace.LaunchOptions

Force the app to launch in the Classic compatibility environment.

Deprecated
static var newInstance: NSWorkspace.LaunchOptions

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

static var andHide: NSWorkspace.LaunchOptions

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

static var andHideOthers: NSWorkspace.LaunchOptions

Hide all apps except the newly launched one.

static var `default`: NSWorkspace.LaunchOptions

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

Relationships

Conforms To