beautypg.com

Apple AppleScript Finder Guide User Manual

Page 74

background image

C H A P T E R 2

Finder Objects

62

Object Class Definitions

product version

The version number shown at the top of the information

window for the file.

Class:

String

Modifiable:

No

stationery

A Boolean value that indicates whether the file is a stationery

pad (true) or not (false).

Class:

Boolean

Modifiable:

Yes

version

The version number shown near the middle of the information

window for the file.

Class:

String

Modifiable:

No

ELEMENT CLASSES

None

COMMANDS HANDLED

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

Open, Print, Put Away, Reveal, Select, Sort, Update

DEFAULT VALUE CLASS RETURNED

A reference to a file or, if you use the plural form files, a list of references.

EXAMPLES

This script returns a list of references to the files whose modification dates are

greater than a specified date:

tell application "Finder"

files of startup disk whose modification date > ¬

date "November 18, 1993"

end tell