From Xojo Documentation


AppleEventTarget.Constructor(Name as String, Computer as String, Zone as String, PortType as String)

Creates a new AppleEventTarget from the passed parameters.
Name is the name of the target application, Computer is the computer on which the app is installed, Zone is the AppleTalk zone, and PortType is the four-character code that identifies the target application.
Use this shared method instead of the deprecated NewAppleEventTarget function.