DesktopApplication.AppleEventReceived

From Xojo Documentation

Event


DesktopApplication.AppleEventReceived(Event as AppleEvent, EventClass as String, EventID as String) As Boolean

New in 2021r3

Supported for all project types and targets.

An AppleEvent has been received.

Notes

Return True to accept the AppleEvent and False to reject it.

Intrinsic AppleEvents, such as "aevt/odoc", "aevt/quit", and "aevt/pref", are passed to this event handler first. If you return True, the default behavior will no longer take place. For example, if you return True for the "odoc" event, the OpenDocument event will not be called.