NewAppleEventTarget

From Xojo Documentation

Revision as of 18:52, 19 November 2009 by WikiSysop (talk) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Description

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


Syntax

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

Part Type Description
Result AppleEventTarget Object representing Apple Event Target
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.


Examples

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

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


See Also

AppleEvent class.