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
FILEMAKER SCRIPT STEPS REFERENCE 97
Options
• Click Current Window to bring the active window of the file that contains the script to the
foreground.
• Click Specify to select which window you want FileMaker Pro to bring to the foreground.
You can enter literal text or click Specify to generate a name from a calculation.
• Select Current file only to restrict matches to the current file (not selecting this option
matches all available FileMaker Pro files).
Compatibility
This script step is also supported in web publishing and in a FileMaker Server scheduled script.
Originated in
FileMaker Pro 6.0 or earlier
Description
Because FileMaker Pro script steps are always performed in the foreground table, it is sometimes
necessary to bring a specific window to the front. Use this script step when you are working with
scripts in multi-table files to make certain that a script step is performed in the intended table.
Notes
• Window name selection is not case-sensitive. This script will select the first matching
window and bring it to the front.
• The Select Window script step does not open a window of a related file when the
related file is opened in a hidden state, such as when a file is opened because it is the
source file of a related field. To use the Select Window script step with this type of
related file, open the related file using the Open File script step.
For example, a layout in the file Data Entry contains a related field from the file Companies.
When this layout is displayed, FileMaker
Pro opens the Companies file in a hidden state. To
open a new window displaying the hidden related file, use a script such as:
Open File[Open Hidden; "Companies"]
Select Window["Companies"]
To return the file to its original state, perform a Close Window [] script step to close the open
window.
• Select Window can make visible a hidden related file if the script step is executed from
within the hidden file.
Examples
Perform Find [Restore]
Sort Records [Restore]
Select Window [Name: “Sales records”]
Related topics
Script steps reference (alphabetical list)
Contents