Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSWorkspaceOpenConfigurationMBS class.

NSWorkspaceOpenConfigurationMBS.arguments as string()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacCocoa Plugin 26.1 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The set of command-line arguments to pass to a new app instance at launch time.

The default value of this property is an empty array. When launching a new instance of an app, use this property to specify any additional launch arguments. The system inserts the app’s path as the first element in the array.
If the calling process is sandboxed, the system ignores the value of this property.

NSWorkspaceOpenConfigurationMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacCocoa Plugin 26.1 ✅ Yes ❌ No ❌ No ❌ No All
The constructor.

NSWorkspaceOpenConfigurationMBS.copy as NSWorkspaceOpenConfigurationMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacCocoa Plugin 26.1 ✅ Yes ❌ No ❌ No ❌ No All
Creates a copy of this configuration.

NSWorkspaceOpenConfigurationMBS.setArguments(arguments() as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacCocoa Plugin 26.1 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Sets the set of command-line arguments to pass to a new app instance at launch time.

The default value of this property is an empty array. When launching a new instance of an app, use this property to specify any additional launch arguments. The system inserts the app’s path as the first element in the array.
If the calling process is sandboxed, the system ignores the value of this property.

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


The biggest plugin in space...