Language Guide
CHAPTER 7
Control Statements
Tell Statements 189
Tell (Compound Statement) 7
A compound Tell statement specifies the default target of the commands
it contains.
SYNTAX
tell referenceToObject
[ statement ]...
end [ tell ]
where
referenceToObject is a reference to an application object, system object, or
script object.
statement is any AppleScript statement.
EXAMPLES
tell application "Scriptable Text Editor"
tell front window
close
end tell
end tell
tell front window of application "Scriptable Text Editor"
close
end tell
tell application "Scriptable Text Editor" of machine ¬
"Mitch's PowerBook" of zone "Apple Berkeley"
tell front window
close
end tell
end tell