Apple AppleScript Finder Guide Manuel d'utilisateur Page 125

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 168
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 124
CHAPTER 3
Finder Commands
Command Denitions 113
EXAMPLE
This script returns a list of integers that specify the size, in bytes, of the icons
for the files My File and My Other File, both located on the startup disk:
tell application "Finder"
data size of {icon of file "My File" of startup disk, ¬
icon of file "My Other File" of startup disk}
end tell
--result: {1016, 2320}
Delete 3
A Delete command is a request to delete one or more objects. The Finder
version of the Delete command is identical to the standard version described
in the AppleScript Language Guide.
SYNTAX
delete referenceToObject
PARAMETER
referenceToObject
A reference to the object or objects to be deleted.
Class: Reference
RESULT
None
Vue de la page 124
1 2 ... 120 121 122 123 124 125 126 127 128 129 130 ... 167 168

Commentaires sur ces manuels

Pas de commentaire