Platforms to show: All Mac Windows Linux Cross-Platform
NSWorkspaceOpenConfigurationMBS class New in 26.1
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| class | Cocoa | MBS MacCocoa Plugin | 26.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | All |
Create an NSWorkspaceOpenConfigurationMBS object before launching an app or opening a URL using the shared NSWorkspaceMBS object. Use the properties of this object to customize the behavior of the launched app or the handling of the URLs. For example, you might tell the app to hide itself immediately after launch.
- 13 properties
- property activates as Boolean
- property addsToRecentItems as Boolean
- property allowsRunningApplicationSubstitution as Boolean
- property appleEvent as Variant
- property architecture as Integer
- property createsNewApplicationInstance as Boolean
- property environment as Dictionary
- property ForPrinting as Boolean
- property Handle as Integer
- property hides as Boolean
- property hidesOthers as Boolean
- property promptsUserIfNeeded as Boolean
- property requiresUniversalLinks as Boolean
- 4 methods
- method arguments as string()
- method Constructor
- method copy as NSWorkspaceOpenConfigurationMBS
- method setArguments(arguments() as string)
- shared method configuration as NSWorkspaceOpenConfigurationMBS
- 5 constants
CPU Types
| Constant | Value | Description |
|---|---|---|
| CPUTypeAny | -1 |
Any CPU |
| CPUTypeARM | 12 |
32-bit ARM |
| CPUTypeARM64 | &h0100000C |
64-bit ARM |
| CPUTypeX86 | 7 |
32-bit Intel |
| CPUTypeX86_64 | &h01000007 |
64-bit Intel |
This class has no sub classes.
Blog Entries
Release notes
- Version 26.1
- Added NSWorkspaceOpenConfigurationMBS class.
Some methods using this class:
- NSWorkspaceMBS.openApplicationFile(Application as FolderItem, configuration as NSWorkspaceOpenConfigurationMBS, tag as variant = nil)
- NSWorkspaceMBS.openApplicationURL(ApplicationURL as String, configuration as NSWorkspaceOpenConfigurationMBS, tag as variant = nil)
- NSWorkspaceMBS.openFile(File as FolderItem, Application as FolderItem, configuration as NSWorkspaceOpenConfigurationMBS, tag as variant = nil)
- NSWorkspaceMBS.openFile(File as FolderItem, configuration as NSWorkspaceOpenConfigurationMBS, tag as variant = nil)
- NSWorkspaceMBS.openURL(URL as String, ApplicationURL as String, configuration as NSWorkspaceOpenConfigurationMBS, tag as variant = nil)
- NSWorkspaceMBS.openURL(URL as String, configuration as NSWorkspaceOpenConfigurationMBS, tag as variant = nil)
Some events using this class:
- NSWorkspaceMBS.openCompleted(item as Variant, application as Variant, configuration as NSWorkspaceOpenConfigurationMBS, runningApp as NSRunningApplicationMBS, error as NSErrorMBS, tag as Variant)
Some related classes:
The items on this page are in the following plugins: MBS MacCocoa Plugin.
NSWorkspaceMBS - NSXPCConnectionMBS