beautypg.com

Apple AppleScript Finder Guide User Manual

Page 77

background image

C H A P T E R 2

Finder Objects

Object Class Definitions

65

EXAMPLE

This script returns references to all the folders at the top level of the startup

disk that have been modified in the last 24 hours:

tell application "Finder"

folders of startup disk where ¬

modification date > ((current date) - 24 * hours)

end tell

Font File

2

An object of class Font File is a file that contains font data.

PROPERTIES

A font 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 font file also has all the properties defined for object class

Item on page 73: Bounds, Comment, Content Space, Container, 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, Copy, Count, Data Size, Delete, Duplicate, Exists, Get, Move, Open,

Put Away, Reveal, Select, Sort, Update