New Window
Purpose 
Creates a new window based on the foreground window.
Format 
New Window[Name: <name of window>; Height: n; Width: n; Top: n; Left: n]
Options 
Click Specify to set options for the new window.
  •
Window Name is the name you specify for your new window. You can enter literal text or click Specify to create a window name from a calculation.
  •
Height is the height of the new window in pixels. You can enter a number or click Specify to generate a number from a calculation.
  •
Width is the width of the new window in pixels. You can enter a number or click Specify to generate a number from a calculation.
  •
Distance from top is the new window’s distance in pixels from the top of the screen (Mac OS) or top of the FileMaker Pro window (Windows). You can enter a number or click Specify to generate a number from a calculation.
  •
Distance from left is the new window’s distance in pixels from the left of the screen (Mac OS) or left of the FileMaker Pro window (Windows). You can enter a number or click Specify to generate a number from a calculation.
Compatibility 
This script step is also supported in web publishing and in a FileMaker Server scheduled script.
Description 
The new window has the same layout, same table, same found set, and same current record as the original window.
Notes
  •
  •
  •
It is not necessary to enter values for each option. When no value is entered, FileMaker Pro uses the default value associated with the Window menu > New Window command.
  •
Minimum height and minimum width depend on the operating system of the user performing the script. If the height or width you specify are less than the minimum, FileMaker Pro uses the minimum values.
  •
  •
  •
If you select Show 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.
Examples 
Go to Layout [“Data Entry”]
New Window [Name: “Enter data here”; Height: 400; Width: 600;
Top: 16; Left: 16]
Related topics 
Defining calculation fields
Script steps reference (alphabetical list)
Script steps reference (category list)