U.M. (Mac OS)

Table Of Contents
Using ScriptMaker and buttons 5-29
5. In the Script Definition dialog box, finish defining or editing the
script, and then click OK.
6. If you are changing an existing script and the Script Settings dialog
box appears, select options, and then click OK.
See step 6 on page 5-17.
7. Click Done.
See “Changing monitor settings” on page 5-37 for an example script.
Examples of ScriptMaker scripts
The following sections show scripts that you can use as starting points
for your work. Before reading the examples, you should understand how
to use ScriptMaker. For information about script steps or more
examples, see FileMaker Pro Help.
Entering and printing data
This example illustrates a simple way to automate data entry. When you
perform the New Entry script, it creates a record, and then pauses so you
can enter data. When the script pauses, you can:
1 resume the script by clicking Continue or pressing Enter. The script
loops (repeats steps) to create a record.
1 print the current record by clicking the Print button on the layout.
FileMaker Pro performs the Print Record script, and then returns to
the paused New Entry script.
1 stop the script by clicking Cancel.
Perform AppleScript commands
(up to 32K)
Click Script text, and then type AppleScript
commands in the text box. The commands are
compiled when you click OK, and then
FileMaker Pro stores the source.
Choose FileMaker Help Index from the or Help menu, and then type:
E AppleScript
Choose FileMaker Help Index from the or Help menu, and then type:
E script examples
E script steps
To Do this