May 2010
Intermediate to advanced
1102 pages
28h 16m
English
In this chapter, you will learn about the various features AppleScript uses to identify files, folders, and disks, and how to read and write files using Standard Additions.
When you work with files, you need a way to refer to them. No matter whether your goal is creating a text file, backing up some folders, or deleting the entire contents of a hard disk, the ways you refer to a file are the same.
AppleScript can identify a file, folder, or disk in four general ways, and your job is to choose the method that works best in your situation, with the application you're using:
An HFS or POSIX path string
An AppleScript object of class alias, file, or POSIX file (though there is a catch ...
Read now
Unlock full access