Apple AppleScript Finder Guide User Manual Page 66

  • Download
  • Add to my manuals
  • Print
  • Page
    / 168
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 65
CHAPTER 2
Finder Objects
54 Object Class Denitions
ELEMENT CLASSES
None
COMMANDS HANDLED
Clean Up, Close, Copy, Count, Data Size, Delete, Duplicate, Exists, Get, Move,
Open, Put Away, Reveal, Select, Sort, Update
DEFAULT VALUE CLASS RETURNED
Reference to a file or, if you use the plural form control panels, a list of
references.
EXAMPLES
This script turns on the Snap to Grid property of the Views control panel:
tell application "Finder"
set snap to grid of control panel "Views" of ¬
control panels folder to true
end tell
You can also use the View Preferences property of the Finder application object
as a reference to the Views control panel. For example, this script toggles the
Date Heading property of the Views control panel on and off:
tell application "Finder"
set date heading of view preferences to ¬
not date heading of view preferences
end tell
Page view 65
1 ... 65 66 67 ... 168

Comments to this Manuals

No comments