Apple AppleScript Finder Guide Manuale Utente Pagina 136

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 168
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 135
CHAPTER 3
Finder Commands
124 Command Denitions
Move 3
A Move command is a request to move an object or objects. The Finder version
of the Move command is similar to the version described in the AppleScript
Language Guide, except that the Finder’s Move command allows you to specify
whether or not to replace items in the destination container.
SYNTAX
move referenceToObject to referenceToContainer ¬
[ replacing ( conflicts | existing items ) ]
PARAMETERS
referenceToObject
A reference to the object to move or a list of references.
Class: Reference or list of references
referenceToContainer
A reference to the location to which to move the object
(see “Notes”).
Class: Reference
RESULT
A reference to the object that was moved or a list of references.
EXAMPLE
This script moves a file into a folder, replacing any files of the same name that
exist in that folder:
tell application "Finder"
move file "My File" of startup disk ¬
to folder "My Folder" of startup disk ¬
replacing conflicts
end tell
Vedere la pagina 135
1 2 ... 131 132 133 134 135 136 137 138 139 140 141 ... 167 168

Commenti su questo manuale

Nessun commento