AppleScript


What can I do with AppleScript?

AppleScript is a programming language built into the Mac OS. AppleScript lets you give your computer a list of things you want it to do--a script--and have the computer do everything on your list.

You can use scripts to automate routine tasks. For example, a script might format a letter the way you want, save it in a particular folder, and print it. You can also use scripts to combine the capabilities of application programs. For example, a script might use the calculation capabilities of a spreadsheet and the formatting capabilities of a word processor to assemble an invoice.

The picture below shows the AppleScript Script Editor and a sample script.

How do I get started?

The AppleScript folder is inside the Apple Extras folder on your hard disk. Inside the AppleScript folder is a folder named Automated Tasks. You can run any script in the Automated Tasks folder by double-clicking the script's icon.

In many applications, you can create a script by opening the Script Editor, clicking the Record button, then performing a series of actions. AppleScript keeps a list of what you do while the recorder is turned on. When you turn the recorder off, you can see the recorded script. When you run the script, your computer repeats your actions automatically.

For more info...

See the "Using AppleScript" documents inside the AppleScript folder.

If you're connected to the Internet, see the AppleScript Web Site (http://www.applescript.apple.com).


Main Menu | Go Back

© 1997 Apple Computer, Inc. All rights reserved.