Apple AppleScript Finder Guide User Manual Page 125

  • Download
  • Add to my manuals
  • Print
  • Page
    / 168
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 124
CHAPTER 3
Finder Commands
Command Denitions 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
Page view 124
1 ... 124 125 126 ... 168

Comments to this Manuals

No comments