Apple AppleScript Finder Guide Manuale Utente Pagina 140

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 168
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 139
CHAPTER 3
Finder Commands
128 Command Denitions
PARAMETER
referenceToObject
A reference to the object to put away or a list of references.
Class: Reference or list of references
RESULT
Reference to the object put away or a list of references.
EXAMPLES
This script puts away the specified objects on the desktop:
tell application "Finder"
put away {file "My File", folder "Projects"}
end tell
You don’t have to specify the desktop explicitly, but to put away items in the
Trash you must specify that they are in the Trash:
tell application "Finder"
put away {file "My File" of trash, ¬
folder "Projects" of trash}
end tell
NOTES
The statement put away items in referenceToContainer (where
referenceToContainer is a reference to any container) won’t compile. Instead, use
the statement put away every item of referenceToContainer.
Vedere la pagina 139
1 2 ... 135 136 137 138 139 140 141 142 143 144 145 ... 167 168

Commenti su questo manuale

Nessun commento