Apple AppleScript Finder Guide Manual do Utilizador Página 136

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 168
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 135
1 2 ... 131 132 133 134 135 136 137 138 139 140 141 ... 167 168

Comentários a estes Manuais

Sem comentários