Script Steps Reference
Table Of Contents
- Contents
- About script steps
- Script steps reference (alphabetical list)
- Control script steps
- Perform Script
- Pause/Resume Script
- Exit Script
- Halt Script
- If
- Else If
- Else
- End If
- Loop
- Exit Loop If
- End Loop
- Allow User Abort
- Set Error Capture
- Set Variable
- Install OnTimer Script
- Navigation script steps
- Go to Layout
- Go to Record/Request/Page
- Go to Related Record
- Go to Portal Row
- Go to Object
- Go to Field
- Go to Next Field
- Go to Previous Field
- Enter Browse Mode
- Enter Find Mode
- Enter Preview Mode
- Editing script steps
- Fields script steps
- Set Field
- Set Field By Name
- Set Next Serial Value
- Insert Text
- Insert Calculated Result
- Insert From Index
- Insert From Last Visited
- Insert Current Date
- Insert Current Time
- Insert Current User Name
- Insert Picture
- Insert QuickTime
- Insert Object (Windows)
- Insert File
- Update Link (Windows)
- Replace Field Contents
- Relookup Field Contents
- Export Field Contents
- Records script steps
- New Record/Request
- Duplicate Record/Request
- Delete Record/Request
- Delete Portal Row
- Delete All Records
- Open Record/Request
- Revert Record/Request
- Commit Records/Requests
- Copy Record/Request
- Copy All Records/Requests
- Import Records
- Export Records
- Save Records As Excel
- Save Records As PDF
- Save Records As Snapshot Link
- Found Sets script steps
- Windows script steps
- Files script steps
- Accounts script steps
- Spelling script steps
- Open Menu Item script steps
- Miscellaneous script steps
About script steps
F
ILEMAKER SCRIPT STEPS REFERENCE 7
About script steps
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 scripts that creates a thank you letter to clients in
your Client database who have made a purchase in the last week. The script composes a letter
tailored to each client. The script switches to Preview mode and pauses so you can see what the
letter looks like before it prints. The whole task is initiated by clicking a button on the Sales Entry
layout.
You use the Manage Scripts feature in FileMaker Pro to 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.
Using this script steps reference
The content in this document was originally written for the FileMaker Pro and FileMaker Pro
Advanced Help. It has been collected in this format to allow solution developers to read the
information independent of the help system. Links to help topics may not work in this format.
Script step topics are organized by category. Each script step topic describes what the script step
does, options, and parameters. Each topic also shows the format for the script step and provides a
usage example.
Learning about scripts
If you’re new to scripting, use the following resources to learn about scripts.
To use a step-by-step tutorial:
• In FileMaker Pro, choose Help menu > Product Documentation > Tutorial.
To view help topics about scripting and the Manage Scripts feature:
• In FileMaker Pro, choose Help menu > FileMaker Pro Help. In the help window, choose
Designing and creating databases, then choose Creating scripts to automate tasks.
You can also search help for information about scripting.
To view all help topics about individual script steps:
• In FileMaker Pro, choose Help > FileMaker Pro Help. In the help window, choose
Reference > Script steps reference.
To view answers to frequently asked questions, tips, troubleshooting advice, and more, visit the
FileMaker Knowledge Base at
www.filemaker.com/kb/.