AppleEvent.Constructor(EventClass as String, eventID as String, BundleID as String)

From Xojo Documentation

Constructor


AppleEvent.Constructor(EventClass as String, EventID as String, BundleID as String)

Creates a new AppleEvent.

Notes

EventClass is the four character AppleEvent class code. EventID is the four character AppleEvent ID. BundleID identifies the target application for the AppleEvent.

Use this constructor instead of the deprecated NewAppleEvent function. (Note that the BundleID parameter of this constructor is not the same as the OSType parameter of the deprecated NewAppleEvent function, even though both are Strings.)