Difference between revisions of "NewAppleEventTarget"

From Xojo Documentation

m
(remved content)
 
Line 7: Line 7:
 
| scope=global
 
| scope=global
 
}}
 
}}
Used to specify the target application that will receive an Apple Event.
 
 
 
=='''Syntax'''==
 
''result''='''NewAppleEventTarget'''(''Name'', ''Computer'', ''Zone'', ''PortType'')
 
{| cellpadding="6" cellspacing="0" border="1"
 
 
! width=15%  style="background-color:#e0e0e0" | Part
 
 
! width=15%  style="background-color:#e0e0e0" | Type
 
 
! width=55%  style="background-color:#e0e0e0" | 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.
 
 
<div style=" background-color:#d0d0d0; padding-left:30px">[[Dim]] apptarget as [[AppleEventTarget]]<br /></div>
 
<div style=" background-color:#d0d0d0; padding-left:30px">apptarget='''NewAppleEventTarget'''("Mailsmith 1.1","Daystar","*","BLTO")
 
<br /></div>
 
 
 
=='''See Also'''==
 
[[AppleEvent]] class.
 
 
[[Category:Macintosh_AppleEvents]]
 

Latest revision as of 15:35, 2 August 2010