
CHAPTER 2
Finder Objects
90 Object Class Definitions
EXAMPLE
If a status window is open, this script returns its name:
tell application "Finder"
front status window
end tell
--result: status window "Copy" of application "Finder"
Suitcase 2
An object of class Suitcase can be either an accessory suitcase or a font suitcase.
PROPERTIES
A suitcase has all the properties defined for object class Container on page 43:
Completely Expanded, Container Window, Entire Contents, Expandable,
Expanded, Previous List View, Selection, and View.
Like any other container, a suitcase also has all the properties defined for object
class Item on page 73: Bounds, Comment, Container, Content Space, Creation
Date, Disk, Folder, Icon, ID, Information Window, Kind, Label Index,
Modification Date, Name, Physical Size, Position, Selected, Size, and Window.
ELEMENT CLASSES
The only elements that a suitcase can contain are objects of class Item (see
page 73 for the definition of Item). Items can be identified within a suitcase by
name or by number.
COMMANDS HANDLED
Clean Up, Close, Copy, Count, Data Size, Delete, Duplicate, Exists, Get, Move,
Open, Put Away, Reveal, Select, Sort, Update
Commenti su questo manuale