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 tasks that creates a thank you email to clients in your Clients database who have made purchases in the last week. The script composes an email tailored to each client. The script switches to Preview mode and pauses so you can see what the message looks like before it is sent. The whole task is initiated by clicking a button on the Sales Entry layout.
You 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 FileMaker WebDirect. See the FileMaker WebDirect Guide.
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)
Topics in this section
Planning a script
Creating and editing scripts
Working with the Scripts menu
Script examples
Scripting with ActiveX Automation (Windows)
Scripting with Apple events (OS X)