AppleEventTarget.AppleEventTarget
From Xojo Documentation
Constructor
This method is only available on the macOS platform. For cross-platform compatibility, use #If...#Endif with the Target... specifiers to make sure you will not attempt to use this method on an incompatible platform. |
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.