beautypg.com

Apple AppleScript Finder Guide User Manual

Page 50

background image

C H A P T E R 2

Finder Objects

38

Object Class Definitions

Similarly, the Finder interprets both of these statements as a reference to

the Trash:

trash
trash of desktop

Application File

2

An object of class Application File is an application’s file on a disk. References

to application files must always include a complete description of the file’s

container. Such references are different from standard AppleScript references

to application objects, which don’t always require a complete pathname.

PROPERTIES

An application 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, an application 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,

Modification Date, Name, Physical Size, Position, Selected, Size, and Window.
Unlike other files, an application file also has these properties:
minimum partition siz

e

An integer indicating the minimum amount of memory,

in bytes, that the application requires to run. This value is

equivalent to the value in the box labeled “Minimum size”

under “Memory Requirements” in the application file’s

information window (see “Notes”).

Class:

Integer

Modifiable:

Yes

partition size

An integer indicating the amount of memory, in bytes, that the

application is launched with if a block of this size is available.

This value is equivalent to the value in the box labeled “Preferred

size” under “Memory Requirements” in the application file’s

information window (see “Notes” on page 40).

Class:

Integer

Modifiable:

Yes