Specify how to launch an application.
Available in Mac OS X v10.5 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public enum LSLaunchFlags
Public Enumeration LSLaunchFlags
public enum class LSLaunchFlags
Members
Member | Description |
---|---|
kLSLaunchDefaults |
Defaults = open, async, use Info.plist, start Classic
|
kLSLaunchAndPrint |
Print items instead of open them
|
kLSLaunchReserved2 | |
kLSLaunchReserved3 | |
kLSLaunchReserved4 | |
kLSLaunchReserved5 | |
kLSLaunchAndDisplayErrors |
Report launch/open failures in the UI
|
kLSLaunchInhibitBGOnly |
/Causes launch to fail if target is background-only.
|
kLSLaunchDontAddToRecents |
Do not add app or documents to recents menus.
|
kLSLaunchDontSwitch |
Do not bring new app to the foreground.
|
kLSLaunchNoParams |
Use Info.plist to determine launch parameters
|
kLSLaunchAsync |
Asynchronous launch; return as soon as the app starts launching.
|
kLSLaunchStartClassic |
Start up Classic environment if required for app.
|
kLSLaunchInClassic |
Force app to launch in Classic environment.
|
kLSLaunchNewInstance |
Instantiate app even if it is already running.
|
kLSLaunchAndHide |
Send child a "hide" request as soon as it checks in.
|
kLSLaunchAndHideOthers |
Hide all other apps when the app checks in.
|
kLSLaunchHasUntrustedContents |
Mark items to be opened as untrusted
|
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)