Platforms to show: All Mac Windows Linux Cross-Platform
Back to AXObserverMBS class.
AXObserverMBS.AddNotification(element as AXUIElementMBS, notification as CFStringMBS) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Accessibility | MBS MacCF Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Returns an error code. (0 for no error and -1 if the function is not available)
Some examples using this method:
AXObserverMBS.Create(pid as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Accessibility | MBS MacCF Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
You need a valid process ID to observe the target application. The ProcessMBS class can help you.
AXObserverMBS.RemoveNotification(element as AXUIElementMBS, notification as CFStringMBS) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Accessibility | MBS MacCF Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Returns an error code. (0 for no error and -1 if the function is not available)
The items on this page are in the following plugins: MBS MacCF Plugin.