CHAPTER 3
Finder Commands
Command Definitions 113
EXAMPLE
This script returns a list of integers that specify the size, in bytes, of the icons
for the files My File and My Other File, both located on the startup disk:
tell application "Finder"
data size of {icon of file "My File" of startup disk, ¬
icon of file "My Other File" of startup disk}
end tell
--result: {1016, 2320}
Delete 3
A Delete command is a request to delete one or more objects. The Finder
version of the Delete command is identical to the standard version described
in the AppleScript Language Guide.
SYNTAX
delete referenceToObject
PARAMETER
referenceToObject
A reference to the object or objects to be deleted.
Class: Reference
RESULT
None
Comments to this Manuals