Application.HandleAppleEvent
From Xojo Documentation
Event
This event is only available on the macOS platform. For cross-platform compatibility, use #If...#Endif with the Target... specifiers to make sure you will not attempt to use this event on an incompatible platform. |
Application.HandleAppleEvent(Event as AppleEvent, EventClass as String, EventID as String) As Boolean
Supported for all project types and targets.
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.