Creating Your Own AppleScripts
If you ask a crowd of Mac users how many of them write AppleScripts, few hands are likely to go up. That’s too bad, because as programming languages go, AppleScript is easy to understand. It takes only a few weeks, not years, to become comfortable with AppleScript. And the power AppleScript places in your hands is well worth the effort you’ll expend learning it.
For example, here’s a fragment of actual AppleScript code:
open folder "AppleScript" of folder "Applications" of startup disk
You probably don’t need a manual to tell you what this line from an AppleScript program does. It opens the Applications→AppleScript folder on your hard drive. (That’s the folder that contains Script Editor, the Mac OS X program that lets you write your own AppleScripts.)
If you have no interest in learning to program, you’re not alone. But almost every Mac fan can benefit by understanding what AppleScript can do, why it’s important in certain industries, and how it may be useful in everyday situations.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access