NewAppleEventTarget Function

Used to specify the target application that will receive an Apple Event.

Syntax
result = NewAppleEventTarget( Name, Computer, Zone, PortType )

Parameters
Name | String | Name of target application.
Computer | String | Computer on which the app is installed.
Zone | String | Appletalk zone
PortType | String | Four character Creator code identifying the target application.

Return Value
Result | AppleEventTarget | Object representing Apple Event Target

# Example

Dim apptarget as AppleEventTarget
apptarget=NewAppleEventTarget("Mailsmith 1.1","Daystar","*","BLTO")

This example targets the Mailsmith application running on the Daystar computer.

# See Also

AppleEvent class.