AppleEventTarget.Create

From Xojo Documentation

Shared Method

AppleEventTarget.Create(Name as String, Computer as String, Zone as String, PortType as String) As AppleEventTarget

Creates a new AppleEventTarget from the passed parameters.

Notes

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.