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 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 |
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 |
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 |
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.