Platforms to show: All Mac Windows Linux Cross-Platform

Back to CGEventTapMBS class.

CGEventTapMBS.Constructor(tapLocation as Integer, Place as Integer, Options as Integer, EventMask as Integer, PID as Integer = -1)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreGraphics Events MBS MacCF Plugin 17.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates an event tap.

If you pass PID > 0, we will create an event tap for a specified process. tapLocation is then ignored.
PID parameter added for plugin version 19.4.

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


The biggest plugin in space...