Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSRunningApplicationMBS class.
NSRunningApplicationMBS.activateWithOptions(options as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Process | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
options: The options to use when activating the application. See "NSApplicationActivationOptions" for the possible values.
Returns true if the application was activated successfully, otherwise false.
This method will return false if the application has quit, or is not a type of application than can be activated.
Available in Mac OS X v10.6 and later.
NSRunningApplicationMBS.Constructor
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Process | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Initializes the object with the current application.
Available in Mac OS X v10.6 and later.
NSRunningApplicationMBS.forceTerminate as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Process | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns true if the application successfully terminated, otherwise false.
This method will return false if the application is no longer running when the forceTerminate message is sent to the receiver.
This method may return before the receiver exits; you should observe the terminated property to determine when the application terminates.
Available in Mac OS X v10.6 and later.
NSRunningApplicationMBS.hide as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Process | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
The property of this value will be false if the application has already quit, or if of a type that is unable to be hidden.
Available in Mac OS X v10.6 and later.
NSRunningApplicationMBS.terminate as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Process | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns true if the application successfully terminated, otherwise false.
This method will return false if the application is no longer running when the terminate message is sent to the receiver.
This method may return before the receiver exits; you should observe the terminated property to determine when the application terminates.
Available in Mac OS X v10.6 and later.
NSRunningApplicationMBS.unhide as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Process | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns true if the application was successfully shown, otherwise false.
The property of this value will be false if the application has already quit, or if of a type that is unable to be hidden.
Available in Mac OS X v10.6 and later.
The items on this page are in the following plugins: MBS MacCocoa Plugin.