Help

Table Of Contents
Creating scripts to automate tasks
F
ILEMAKER PRO HELP 421
Once you've considered these questions, you're ready to manage scripts in your database. See
Creating and editing scripts.
Creating and editing scripts
After you have planned your scripts, you are ready to create, edit, and manage them.
To create a script:
1. Choose Scripts menu > Manage Scripts. Or, choose File menu > Manage > Scripts.
2. In the Manage Scripts dialog box, click New.
You can also choose Empty Script or Default Script from the New list. If you choose Default
Script, FileMaker
Pro includes default script steps that you can edit or delete in the Edit Script
window.
The Edit Script window opens. This is where you create scripts or edit existing scripts.
3. In the Edit Script window, create your script.
To Do this
Name a new script Type a name for the new script in the Script Name text box.
Add a script step Select it from the list of available steps and click Move. Typing the first few
letters of the script step scrolls the list to that script step.
Specify script step
options
A step with square brackets after it has options you can set. Double-click
the step, or select it and click Specify. In the next dialog box, specify
options, and click OK.
When specifying options for some script steps, you might see the
parameter “Restore”. Restore indicates that the criteria you specified when
the script step was last edited is used when the script step is executed.
Duplicate a script step Select it in the list on the right and click Duplicate.
Copy and paste a script
step
Select it in the list on the right, then choose Edit menu > Copy. Click in the
list where you want the script step to appear, and choose Edit menu
>
Paste. You can also copy and paste script steps into other scripts, copy
and paste scripts, or copy and paste into other files. See
Copying and
pasting scripts.
Delete a script step Select it in the list on the right and click Clear. See Deleting a script.
View available script
steps by category or
name
Choose All by category, All by name, or a specific category from the
View list.