O'Reilly logo

Apple Pro Training Series: AppleScript 1-2-3 by Bill Cheeseman, Sal Soghoian

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Lesson 5. Special Folders

Domains

Enumeration Constants

Creating References to Items in Special Folders

Chapter Summary

What’s Next?

This chapter is the third in a series of five chapters about identifying, finding, and manipulating scriptable objects in applications.

It’s inevitable that sooner or later you’ll want to share scripts you’ve written with others. And it’s just as inevitable that a script that worked perfectly on your computer won’t work as expected on your friend’s computer. This sometimes happens because your script contains references to folder and file locations on your computer that do not exactly match those on another computer.

For example, a reference to a file named “cars.pdf” in the Documents folder would appear on Sal’s ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required