This page describes Tcl® calls for building and sending AppleEvents. For information on the associated ToolBox calls, see INSIDE MACINTOSH: Interapplication Communication.
tclAE::PPCBrowser
PPCBrowser
.
tclAE::PPCBrowser [flags]
A new TargetID
.
Display a dialog allowing the user to select an application to communicate with.
Flags are:
-p string
-l string
-fc list
-fn list
tclAE::send
tclAE::send [flags] anAddress aeclass aeeventID [event parameters]*
-r
-Q
eventHandlerProc
-q
-p
-t timeout
tclAE::target
tclAE::target option [arg É]
option
. The legal options are:
tclAE::target info TargetID array
array
in
the current context, containing fields nameScript
,
name
, portKindSelector
, and
locationKindSelector
. If portKindSelector
is
ppcByCreatorAndType
, there will be additional fields
portCreator
and portType
. If
portKindSelector
is ppcByString
, there will
be an additional field portTypeStr
.
tclAE::target names
TargetIDs
.
tclAE::target set TargetID
keyword
value
keyword
element of target
to value
.
Copyright © 1999Ð2000 Jonathan E. Guyer
All rights reserved.