MonobjcMonobjc Documented Class Library
NSWorkspaceLaunchOptions Enumeration
NamespacesMonobjc.AppKitNSWorkspaceLaunchOptions

These constants define launch options you can pass to launchAppWithBundleIdentifier:options:additionalEventParamDescriptor:launchIdentifier: and openURLs:withAppBundleIdentifier:options:additionalEventParamDescriptor:launchIdentifiers:.

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public enum NSWorkspaceLaunchOptions
Public Enumeration NSWorkspaceLaunchOptions
public enum class NSWorkspaceLaunchOptions
Members
MemberDescription
NSWorkspaceLaunchAndPrint

Print items instead of opening them.

Available in Mac OS X v10.3 and later.


NSWorkspaceLaunchInhibitingBackgroundOnly

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

Available in Mac OS X v10.3 and later.


NSWorkspaceLaunchWithoutAddingToRecents

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

Available in Mac OS X v10.3 and later.


NSWorkspaceLaunchWithoutActivation

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

Available in Mac OS X v10.3 and later.


NSWorkspaceLaunchAsync

Launch the application and return the results asynchronously.

Available in Mac OS X v10.3 and later.


NSWorkspaceLaunchAllowingClassicStartup

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

Available in Mac OS X v10.3 and later.


NSWorkspaceLaunchPreferringClassic

Force the application to launch in the Classic compatibility environment.

Available in Mac OS X v10.3 and later.


NSWorkspaceLaunchNewInstance

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

Available in Mac OS X v10.3 and later.


NSWorkspaceLaunchAndHide

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

Available in Mac OS X v10.3 and later.


NSWorkspaceLaunchAndHideOthers

Hide all applications except the newly launched one.

Available in Mac OS X v10.3 and later.


NSWorkspaceLaunchDefault

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

Available in Mac OS X v10.3 and later.


Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)