beautypg.com

Apple AppleScript Finder Guide User Manual

Page 67

background image

C H A P T E R 2

Finder Objects

Object Class Definitions

55

Desk Accessory File

2

An object of class Desk Accessory File is a desk accessory file on a disk.

PROPERTIES

A desk accessory 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 desk accessory 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.

ELEMENT CLASSES

None

COMMANDS HANDLED

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

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

DEFAULT VALUE CLASS RETURNED

Reference to a file or, if you use the plural form desk accessory files, a

list of references.

EXAMPLE

This script opens all the desk accessory files listed in the Apple menu:

tell application "Finder"

open desk accessory files in apple menu items folder

end tell