Script Steps Reference

Table Of Contents
104 FileMaker Script Steps Reference
New File
Format
New File
Options
None.
Web compatibility
This script step is not web-compatible.
Description
Allows the user to create a new database file. If the Show templates in New Database
dialog box preference is selected, this script step opens the New Database dialog box.
Otherwise, this script step opens the “Create a new file named:” dialog box. After the user
exits the Define Database dialog box, the script becomes active again, and if script steps
remain, the script continues. The newly created database remains open, but not active.
Example
New File
Open File
Format
Open File [Open hidden; “<filename>”]
Options
Open hidden causes FileMaker Pro to open the specified database hidden.
Specify lets you select a FileMaker Pro database to open. Choose Add File
Reference to locate and select a filename. After selecting a file, it is added to the
Specify list. Choose Define File References to modify or delete a file reference
you’ve already added to the list.
Web compatibility
This script step is not web-compatible.
Description
Opens the specified file or lets the user select a file to open. Script steps after Open
execute in the file that contains the script, not the file opened by the script.
If you don't specify a file, FileMaker Pro displays the Open File dialog box when the Open
File script step executes so that the user can specify a file. The Open File dialog box will
also be displayed if the file used in the script has been moved, deleted, or renamed.