Script Steps Reference

Table Of Contents
110 FileMaker Script Steps Reference
Description
Recovers a damaged FileMaker Pro file. FileMaker Pro attempts to repair and recover as
much of the information in a damaged file as possible, and then creates a new, recovered
file. The original file is not deleted or replaced.
Note Before you begin, be sure you have enough disk space for the recovered file. If there
isn't enough space, the recovered file won't be usable.
Example
#Note: The Recover command makes an aggressive attempt to reopen a
damaged file. It is intended for data recovery, not file repair.
Do not use the Recover command as part of routine file maintenance.
Recover File [ ]
Print Setup
Format
Print Setup [Restore; No dialog]
Options
Perform without dialog prevents the Print Setup dialog box from displaying when
the script step executes. If you select Perform without dialog, the output from this
script step will be sent to the last specified printer and not the one specified in the Edit
Script dialog box.
Select Specify page setup or click Specify to open the Print Setup dialog box and
choose page setup options that are stored with the script step.
Web compatibility
This script step is not web-compatible.
Description
Sets Print Setup options, such as paper size and orientation, which can be stored with this
script step. You can also have the step performed with a dialog box so the user can
specify print options at runtime. You can use multiple Print Setup script steps within a
script.
Example
Enter Browse Mode []
Go to Layout ["Layout #1"]
Print Setup [Restore; No dialog]
Show All Records
Sort Records [Restore; No dialog]
Print []