Script Steps Reference

Table Of Contents
Chapter 8
|
Windows script steps 93
If you select Indicate web compatibility, the string (VIRTUAL WINDOW ON WEB) is
added to the script step display to indicate to the user that a new virtual window is
opened in the same browser window.
Example
Go to Layout [“Data Entry”]
New Window [Name: “Enter data here”; Height: 400; Width: 600;
Top: 16; Left: 16]
Select Window
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).
Web compatibility
This script step is web-compatible.
Description
Specifies a window by name and makes it the foreground window.
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.