Apple AppleScript Finder Guide Instrukcja Użytkownika Strona 73

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 168
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 72
CHAPTER 2
Finder Objects
Object Class Denitions 61
EXAMPLE
This script opens all the document files at the top level of a disk:
tell application "Finder"
open document files in window "My World"
end tell
Application files, desk accessories, suitcases, and other nondocument files
are ignored.
File 2
An object of class File can be any file on a disk, including document files,
application files, and so on.
PROPERTIES
A file has all the properties defined for object class Item on page 73: Bounds,
Comment, Container, Content Space, Creation Date, Disk, Folder, Icon, ID,
Information Window, Kind, Label Index, Modification Date, Name, Physical
Size, Position, Selected, Size, and Window.
Unlike other items, a file also has these properties:
creator type
A four-character code that indicates the creator type of the
application that created the file.
Class: String
Modifiable: Yes
file type A four-character code that indicates the type of the file.
Class: String
Modifiable: Yes
locked A Boolean value that indicates whether the file is locked (true)
or not (false).
Class: Boolean
Modifiable: Yes
Przeglądanie stron 72
1 2 ... 68 69 70 71 72 73 74 75 76 77 78 ... 167 168

Komentarze do niniejszej Instrukcji

Brak uwag