Platforms to show: All Mac Windows Linux Cross-Platform

Back to LaunchServicesLaunchParameterMBS class.

LaunchServicesLaunchParameterMBS.Application as FolderItem

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The application to use to open documents.

(Read and Write property)

LaunchServicesLaunchParameterMBS.Defaults as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Default settings should be used.

default means: open, async, use Info.plist, start Classic.
(Read and Write property)

LaunchServicesLaunchParameterMBS.DontAddToRecents as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Do not add application or documents to recents menus.

(Read and Write property)

LaunchServicesLaunchParameterMBS.DontSwitch as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Don't bring new app to the foreground.
Example
dim l as new LaunchServicesLaunchParameterMBS

l.DontSwitch=true

dim files(0) as FolderItem

files(0)=GetFolderItem("/Applications/iTunes.app", FolderItem.PathTypeShell)

call LaunchServicesOpenXMBS(files,l)

(Read and Write property)

LaunchServicesLaunchParameterMBS.Hide as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Send child a "hide" request as soon as it checks in.

(Read and Write property)

LaunchServicesLaunchParameterMBS.HideOthers as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Hide all other apps when child checks in.

(Read and Write property)

LaunchServicesLaunchParameterMBS.InClassic as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Force app to launch in Classic environment.

(Read and Write property)

LaunchServicesLaunchParameterMBS.InhibitBGOnly as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Causes launch to fail if target is background-only.

(Read and Write property)

LaunchServicesLaunchParameterMBS.LastError as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The last error value from the LaunchServicesOpenXMBS function.

Values for errors:
kLSUnknownErr = -10810
kLSNotAnApplicationErr = -10811
kLSNotInitializedErr = -10812
kLSDataUnavailableErr = -10813e.g. no kind string
kLSApplicationNotFoundErr = -10814e.g. no application claims the file
kLSUnknownTypeErr = -10815
kLSDataTooOldErr = -10816
kLSDataErr = -10817
kLSLaunchInProgressErr = -10818e.g. opening an alreay opening application
kLSNotRegisteredErr = -10819
kLSAppDoesNotClaimTypeErr = -10820
kLSAppDoesNotSupportSchemeWarning= -10821not an error, just a warning
kLSServerCommunicationErr = -10822cannot set recent items
kLSCannotSetInfoErr = -10823you may not set item info for this item
(Read and Write property)

LaunchServicesLaunchParameterMBS.NewInstance as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Instantiate app even if it is already running.

(Read and Write property)

LaunchServicesLaunchParameterMBS.NoParams as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Use Info.plist to determine launch parameters.

(Read and Write property)

LaunchServicesLaunchParameterMBS.Print as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Print items instead of opening them.

(Read and Write property)

LaunchServicesLaunchParameterMBS.StartClassic as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Launch Services MBS MacOSX Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Start up Classic environment if required for this application.

(Read and Write property)

The items on this page are in the following plugins: MBS MacOSX Plugin.


The biggest plugin in space...