From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Shared Method

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

Supported for all project types and targets.

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.