Apple AppleScript Finder Guide Uživatelský manuál Strana 109

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 168
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 108
CHAPTER 2
Finder Objects
Object Class Denitions 97
COMMANDS HANDLED
Clean Up, Close, Count, Data Size, Exists, Get, Open, Print, Sort, Update
DEFAULT VALUE CLASS RETURNED
Reference.
EXAMPLE
This script closes all Finder windows. It has the same effect as holding down
the Option key and clicking the close box of the front window.
tell application "Finder"
close windows
end tell
For an example of a script that either takes a snapshot of the current window
arrangement or restores a previously stored snapshot, see Listing 1-2 on
page 11.
NOTES
In addition to the properties listed here, a Finder window can inherit certain
properties, such as Name, from the object to which it belongs.
tell application "Finder"
name of front window
end tell
--result: "My World"
Zobrazit stránku 108
1 2 ... 104 105 106 107 108 109 110 111 112 113 114 ... 167 168

Komentáře k této Příručce

Žádné komentáře