CHAPTER 2
Finder Objects
Object Class Definitions 39
scriptable A Boolean value that indicates whether the application is high-
level event aware (true) or not (false)—that is, whether it can
respond to the Open, Run, Print, and Quit commands.
Class: Boolean
Modifiable: No
suggested partition size
An integer indicating the amount of memory, in bytes, suggested
for running the application. This value is equivalent to the value
in the box labeled “Suggested size” under “Memory Require-
ments” in the application file’s information window.
Class: Integer
Modifiable: No
ELEMENT CLASSES
None
COMMANDS HANDLED
Clean Up, Copy, Count, Data Size, Duplicate, Exists, Get, Make, Move, Open,
Put Away, Reveal, Select, Sort, Update
DEFAULT VALUE CLASS RETURNED
A reference to a file or, if you use the plural form application files, a list
of references.
EXAMPLES
The script that follows checks the Scriptable Text Editor’s partition size before
opening the application. If the amount of memory available is greater than
the partition size, the script opens the application. If the amount of memory
available is less than the partition size, the script displays a dialog box warning
the user that the Scriptable Text Editor prefers more memory. This might be
useful if a script performs actions requiring more memory than an applica-
tion’s minimum partition size permits.
Comments to this Manuals