Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSRunningApplicationMBS class.

NSRunningApplicationMBS.NSApplicationActivateAllWindows = 1

Type Topic Plugin Version
const Process MBS MacCocoa Plugin 9.7
One of the flag constants for activateWithOptions.

By default, activation brings only the main and key windows forward. If you specify NSApplicationActivateAllWindows, all of the application's windows are brought forward.
Available in Mac OS X v10.6 and later.

NSRunningApplicationMBS.NSApplicationActivateIgnoringOtherApps = 2

Type Topic Plugin Version
const Process MBS MacCocoa Plugin 9.7
One of the flag constants for activateWithOptions.

By default, activation deactivates the calling app (assuming it was active), and then the new app is activated only if there is no currently active application. This prevents the new app from stealing focus from the user, if the app is slow to activate and the user has switched to a different app in the interim. However, if you specify NSApplicationActivateIgnoringOtherApps, the application is activated regardless of the currently active app, potentially stealing focus from the user. You should rarely pass this flag because stealing key focus produces a very bad user experience.
Available in Mac OS X v10.6 and later.

NSRunningApplicationMBS.NSApplicationActivationPolicyAccessory = 1

Type Topic Plugin Version
const Process MBS MacCocoa Plugin 9.7
One of the constants used for following activation policies.

The application does not appear in the Dock and does not have a menu bar, but it may be activated programmatically or by clicking on one of its windows. This corresponds to value of the LSUIElement key in the application's Info.plist being 1.
Available in Mac OS X v10.6 and later.

NSRunningApplicationMBS.NSApplicationActivationPolicyProhibited = 2

Type Topic Plugin Version
const Process MBS MacCocoa Plugin 9.7
One of the constants used for following activation policies.

The application does not appear in the Dock and may not create windows or be activated. This corresponds to the value of the LSBackgroundOnly key in the application's Info.plist being 1. This is also the default for unbundled executables that do not have Info.plists.
Available in Mac OS X v10.6 and later.

NSRunningApplicationMBS.NSApplicationActivationPolicyRegular = 0

Type Topic Plugin Version
const Process MBS MacCocoa Plugin 9.7
One of the constants used for following activation policies.

The application is an ordinary app that appears in the Dock and may have a user interface. This is the default for bundled apps, unless overridden in the Info.plist.
Available in Mac OS X v10.6 and later.

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


The biggest plugin in space...