beautypg.com

Apple AppleScript Finder Guide User Manual

Page 101

background image

C H A P T E R 2

Finder Objects

Object Class Definitions

89

DEFAULT VALUE CLASS RETURNED

A reference to a file or, if you use the plural form sound files, a list

of references.

EXAMPLE

This script plays the sound file MySound:

tell application "Finder"

open file "MySound" of folder "Sounds" of startup disk

end tell

Status Window

2

An object of class Status Window is a window indicating the progress of an

operation in the Finder—for example, the windows that appear when items

are being copied or when the Trash is being emptied.

PROPERTIES

A status window has all the properties defined for object class Window on

page 95: Bounds, Closeable, Floating, Index, Modal, Position, Resizable, Titled,

Visible, Zoomable, and Zoomed.

ELEMENT CLASSES

None

COMMANDS HANDLED

Count, Data Size, Exists, Get

DEFAULT VALUE CLASS RETURNED

A reference to a status window or, if you use the plural status windows, a

list of references.