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

  • 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 143
CHAPTER 3
Finder Commands
132 Command Denitions
Select 3
The Select command is a request to select one or more objects. If you specify
objects in several containers, only the objects in the last specified container
will remain selected. The container must be open for the specified object to
be selected.
SYNTAX
select referenceToObject
PARAMETER
referenceToObject
A reference to the object or objects to be selected.
Class: Reference or list of references
RESULT
Reference to the selected object or a list of references.
EXAMPLE
This script selects two files in a single folder:
tell application "Finder"
select {file "To Tom" in folder "Letters" of startup disk, ¬
file "To Lorraine" in folder "Letters" of startup disk}
end tell
The folder must be open for the script to work correctly.
Zobrazit stránku 143
1 2 ... 139 140 141 142 143 144 145 146 147 148 149 ... 167 168

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

Žádné komentáře