Difference between revisions of "AppleEvent.Constructor(EventClass as String, eventID as String, BundleID as String)"

From Xojo Documentation

m
m
 
Line 10: Line 10:
 
|text = Creates a new '''AppleEvent'''.  
 
|text = 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.
 
''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.)
 
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.)

Latest revision as of 21:43, 30 January 2012

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