Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSEventMonitorMBS class.

NSEventMonitorMBS.GlobalEvent(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa MBS MacFrameworks Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No
This event is called for global system events.

It is passed the event to monitor. You are unable to change the event, merely observe it.

Events are delivered asynchronously to your app and you can only observe the event; you cannot modify or otherwise prevent the event from being delivered to its original target application.

Some examples using this event:

NSEventMonitorMBS.LocalEvent(e as NSEventMBS) as NSEventMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa MBS MacFrameworks Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No
This event is called for local application events.

You can return the event unmodified, create and return a new NSEventMBS object, or return nil to stop the dispatching of the event.

Some examples using this event:

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


The biggest plugin in space...