Help

Table Of Contents
FILEMAKER PRO HELP 1082
Format
Select Window [Current window or Name:<name of window>; Current file]
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
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
In FileMaker WebDirect and Custom Web Publishing, this script step displays the specified
virtual window in the web browser window. The previous virtual window remains open when
it is not displayed.
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[Name: "Companies"]
Where the script step runs Supported
FileMaker Pro Yes
FileMaker Server scheduled script Yes
FileMaker Go Yes
Custom Web Publishing Yes
FileMaker WebDirect Yes
Runtime solution Yes