Creating scripts to automate tasks
Scripts can do simple tasks like setting print orientation or complex tasks like preparing a customized mailing to each client.
For example, you could define a complex set of scripts that creates a thank you letter to clients in your Client database who have made a purchase in the last week. The script composes a letter tailored to each client. The script switches to Preview mode and pauses so you can see what the letter looks like before it prints. The whole task is initiated by clicking a button on the Sales Entry layout.
You use the Manage Scripts feature in FileMaker Pro to build scripts by selecting from a list of FileMaker Pro commands, called script steps, specifying options (if necessary), and arranging the steps in the correct order to perform the task.
Note  Many FileMaker Pro scripts can be made available to web users when you publish your database using Instant Web Publishing. See the FileMaker Instant Web Publishing Guide for more information.
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)
Topics in this section
Planning a script
Creating and editing scripts
Importing scripts from other FileMaker files
Scripting for OLE (Windows)
Scripting with ActiveX Automation (Windows)
Scripting with Apple events (Mac OS)
Working with the Scripts menu
Using buttons with scripts
Script examples