![]() |
|||
|
Note: this article is taken from MAC OS X 10.3 PANTHER ED: VISL QUICKSTRT GD, © 2004 Maria Langer Reproduced by permission of Pearson Education, Inc. Publishing as Peachpit Press. ALL RIGHTS RESERVED. To buy this book, visit www.peachpit.com AppleScript is the scripting language that comes with Mac OS. It enables you to automate tasks and extend the functionality of Mac OS X. You use AppleScript's Script Editor application to write small programs or scripts that include specially worded statements. AppleScript statements are converted by Mac OS into Apple events--messages that can be understood by the operating system and applications. When you run a script, the script can send instructions to the operating system or applications and receive messages in return. For example, say that at the end of each working day, you back up the contents of a specific folder to a network disk before you shut down your computer. The folder is large and the network is slow, so you often have to wait ten minutes or more to shut down the computer when the backup is finished. You can write a script that mounts the network drive, backs up the folder, and shuts down your computer automatically. You simply run the script, turn out the lights, and go home. AppleScript does the rest. In this part of the chapter, I introduce AppleScript's components to give you an idea of how it works and what you can do with it. Tip
Script Editor ![]()
|
Today's Tip
Recent Tips
Troubleshooting External Devices Schedule Scripts and Apps with iCal iTunes - Classic Visualizer Configurations
Featured Article
More Articles
Professional Editing Techniques Hacking Tiger: Inside Application Bundles The "Where'd It Go?" Dictionary (Mac Version) The "Where'd It Go?" Dictionary (Windows Version)
|
||
|
|||