Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSRunningApplicationMBS class.
NSRunningApplicationMBS.activationPolicy as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Process | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
The value returned by this property is usually fixed, but it may change through a call to activateWithOptions.
Available in Mac OS X v10.6 and later.
(Read only property)
NSRunningApplicationMBS.active as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Process | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Available in Mac OS X v10.6 and later.
(Read only property)
NSRunningApplicationMBS.bundleIdentifier as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Process | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
The value of this property will be nil if the application does not have an Info.plist.
(Read only property)
NSRunningApplicationMBS.bundleURL as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Process | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Available in Mac OS X v10.6 and later.
(Read only property)
Some examples using this property:
NSRunningApplicationMBS.executableArchitecture as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Process | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Available in Mac OS X v10.6 and later.
(Read only property)
NSRunningApplicationMBS.executableURL as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Process | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Available in Mac OS X v10.6 and later.
(Read only property)
NSRunningApplicationMBS.finishedLaunching as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Process | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
The value of this property corresponds to the running application having received an NSApplicationDidFinishLaunchingNotification notification internally. Some applications do not post this notification (applications that do not rely on NSApplication) and so are never reported as finished launching.
Available in Mac OS X v10.6 and later.
(Read only property)
NSRunningApplicationMBS.Handle as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Process | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
(Read and Write property)
NSRunningApplicationMBS.hidden as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Process | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Available in Mac OS X v10.6 and later.
(Read only property)
NSRunningApplicationMBS.icon as NSImageMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Process | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Available in Mac OS X v10.6 and later.
(Read only property)
NSRunningApplicationMBS.launchDate as date
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Process | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
This property is not available for all applications. Specifically, it is not available for applications that were launched not launched by LaunchServices.
Available in Mac OS X v10.6 and later.
(Read only property)
NSRunningApplicationMBS.launchDateTime as DateTime
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Process | MBS MacCocoa Plugin | 20.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
This property is not available for all applications. Specifically, it is not available for applications that were launched not launched by LaunchServices.
Available in Mac OS X v10.6 and later.
(Read only property)
NSRunningApplicationMBS.localizedName as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Process | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
The value of this property is dependent on the current localization of the application and is suitable for presentation to the user.
Available in Mac OS X v10.6 and later.
(Read only property)
NSRunningApplicationMBS.ownsMenuBar as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Process | MBS MacCocoa Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Available in Mac OS X v10.7 and later.
(Read only property)
NSRunningApplicationMBS.processIdentifier as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Process | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Not all applications have a pid. Applications without a return a value of -1.
Do not rely on this for comparing processes, instead compare NSRunningApplication instances using isEqual:.
Available in Mac OS X v10.6 and later.
(Read only property)
NSRunningApplicationMBS.terminated as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Process | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
The value of terminated is true if the receiver's application has terminated, otherwise false.
This property is observable using key-value observing.
Available in Mac OS X v10.6 and later.
(Read only property)
The items on this page are in the following plugins: MBS MacCocoa Plugin.