Apple AppleScript Finder Guide User Manual
Page 84

C H A P T E R 2
Finder Objects
72
Object Class Definitions
warn before emptying
A Boolean value that indicates whether the Finder should warn
the user before emptying the Trash (true) or not (false)
(available only for the Trash).
Class:
String
Modifiable:
Yes
ELEMENT CLASSES
None
COMMANDS HANDLED
Close, Count, Data Size, Exists, Get, Open, Sort
DEFAULT VALUE CLASS RETURNED
A reference to an information window or, if you use the plural form
information windows
, a list of references.
EXAMPLE
This script opens the information windows for all application files in a disk
whose partition sizes are greater than 1000K:
tell application "Finder"
open (information window of application files of ¬
disk "Applications" whose partition size > 1024000)
end tell
NOTES
The Minimum Partition Size, Partition Size, and Suggested Partition Size are all
given in bytes. These values are shown in information windows in kilobytes
(K, where 1K = 1024 bytes). For more information about the relationships
among these properties, which are identical to the properties of the same name
defined for class Application File, see page 40.