Apple AppleScript Finder Guide Instrukcja Użytkownika Strona 135

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 168
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 134
CHAPTER 3
Finder Commands
Command Denitions 123
If you save this script as an application and drag a folder onto the application’s
icon, the script searches the entire startup disk for any items whose names
include the name of the folder and creates alias files in that folder for all
matching items:
on open x
tell application "Finder"
repeat with i in x
set n to name of i
open i
make alias file to every item of entire contents ¬
of startup disk whose name contains n at i
end repeat
end tell
end open
This script may take a minute or more to run if the startup disk contains a large
number of items.
NOTES
When you use the Make command to create a new file, you can’t use the term
new before the term file:
tell application "Finder"
make file at startup disk with properties ¬
{name: "My File"}
end tell
For all other object classes, the term new is optional.
Przeglądanie stron 134
1 2 ... 130 131 132 133 134 135 136 137 138 139 140 ... 167 168

Komentarze do niniejszej Instrukcji

Brak uwag