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

From Xojo Documentation

Revision as of 02:51, 12 January 2012 by Dbrandt (talk | contribs)

Constructor


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

Creates a new AppleEvent. 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.)