Previous Book Contents Book Index Next

Inside Macintosh: AppleScript Language Guide / Part 2 - AppleScript Language Reference
Chapter 4 - Commands / Command Definitions
/


Delete application command

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 

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996