beautypg.com

Apple AppleScript Finder Guide User Manual

Page 70

background image

C H A P T E R 2

Finder Objects

58

Object Class Definitions

PROPERTIES

A disk has all the properties defined for object class Sharable Container

on page 79: Exported, Group, Group Privileges, Guest Privileges,

Inherited Privileges, Mounted, Owner, Owner Privileges, Protected,

Shared, Sharing Window.
Like any other sharable container, a disk also 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.
In addition, like any other container, a disk has all 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.
Unlike other sharable containers or containers, a disk also has the following

properties:
capacity

The total number of bytes that can fit on the disk.

Class:

Integer

Modifiable:

No

ejectable

A Boolean value that indicates whether the disk can be ejected

or put away (true) or not (false).

Class:

Boolean

Modifiable:

No

free space

The total number of bytes of free space remaining on the disk.

Class:

Integer

Modifiable:

No

local volume

A Boolean value that indicates whether the disk is a local (true)

or remote (false) volume.

Class:

Boolean

Modifiable:

No

startup

A Boolean value that indicates whether a disk is the startup

disk (true) or not (false).

Class:

Boolean

Modifiable:

No