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)


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


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.


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.