Application.HandleAppleEvent

From Xojo Documentation

Event


Application.HandleAppleEvent(Event as AppleEvent, EventClass as String, EventID as String) As Boolean

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 fire.