The Ultimate Beginner's Guide To AppleScript
This is the first post in a new series that revisits some of our readers' favorite posts from the past that still contain awesome and relevant information that you might find useful. This post was originally published on July 7, 2009. The best part about AppleScript is that you don't have to be a genius programmer to use it. In fact, you don't have to have any programming experience whatsoever. What is AppleScript? AppleScript is a powerful scripting language that comes built-in to OS X. The Main Window Getting Started: The Tell Block To create an AppleScript, open the application "Script Editor" located inside the AppleScript folder within the Applications folder. [applescript] tell application "Finder" display dialog "Hello World" end tell [/applescript] AppleScript attempts to use plain English wherever possible to make coding extremely simple. Always remember to end your tell blocks correctly or the code will not compile! Color Guide After your code has compiled, click on the "Run" button.