beautypg.com

Apple AppleScript Finder Guide User Manual

Page 100

background image

C H A P T E R 2

Finder Objects

88

Object Class Definitions

DEFAULT VALUE CLASS RETURNED

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

, a list of references.

EXAMPLE

This script opens the sharing windows for sharable containers on the desktop

that belong to a specified owner:

tell application "Finder"

open (sharing window of sharable containers whose owner is "John")

end tell

Sound File

2

An object of class Sound File is a sound file.

PROPERTIES

A sound file has all the properties defined for object class File on page 61:

Creator Type, File Type, Locked, Product Version, Stationery, and Version.
Like any other file, a sound file 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, Modifica-

tion Date, Name, Physical Size, Position, Selected, Size, and Window.

ELEMENT CLASSES

None

COMMANDS HANDLED

Clean Up, Copy, Count, Data Size, Delete, Duplicate, Exists, Get, Move, Open,

Put Away, Reveal, Select, Sort, Update