Language Guide

CHAPTER 4
Commands
98 Command Denitions
EXAMPLE
set theSize to the data size of paragraph 1 through 10
NOTES
As described in the definition of the Get command, the data of some
application objects can be returned as values of different classes. Because the
size of the data returned as different classes can be different, the Data Size
command includes an optional class parameter that allows you to specify the
class of the data.
Delete application command4
A Delete command is a request to delete one or more objects.
SYNTAX
delete referenceToObject
PARAMETER
referenceToObject
A reference to the object or objects to be deleted.
Class: Reference
RESULT
None
EXAMPLE
tell document "Intro" of app "Scriptable Text Editor"
delete words 1 through 5
end tell