Creates a new window based on the foreground window.
New Window[Style: Document/Floating Document/Dialog; Name: <name of window>; Height: n; Width: n; Top: n; Left: n]
You can choose one of the following window styles:
You can specify these window settings:
•Window Name is the name for the new window. Window names do not have to be unique.
•Height is the height of the new window, in points.
•Width is the width of the new window, in points.
•Distance from Top is the new window’s distance, in points, from the top of the FileMaker Pro window (Windows) or the top of the screen (OS X).
•Distance from Left is the new window’s distance, in points, from the left of the FileMaker Pro window (Windows) or the left of the screen (OS X).
You can set these window controls:
•Close enables the close button in the window’s title bar.
•Minimize enables the minimize button in a window’s title bar.
•Maximize enables the maximize button in the window’s title bar.
•Zoom Control Area
enables the zoom control and Mode pop-up menu
at the bottom left of the window.
•Resize allows users to resize the window.
Where the script step runs
Custom Web Publishing
FileMaker Pro 6.0 or earlier
This script step creates a new document window, floating document window, or dialog window based on the active window.
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.
In FileMaker WebDirect and Custom Web Publishing, this script step opens a new virtual window in the web browser. Inactive virtual windows remain open but are not visible. To change the current (active) virtual window, use the Select Window script step
. Window style settings are not supported.
•FileMaker Go does not support the Floating Document and Dialog window style options. Also, FileMaker Go does not support the options for positioning and resizing windows, because it always displays document windows in full screen.
Goes to the Customers layout in a new window and sorts by the Customer ID field.
New Window [Style: Document; Top: Get ( WindowTop ) + 25; Left: Get ( WindowLeft ) + 25]
Go to Layout ["Customers"]
Sort Records by Field [Descending; Customers::Customer ID]
Goes to the Print Invoices layout in a new floating window and enters Preview mode.
New Window [Style: Floating Document; Name: "Print Invoices"; Top: Get ( WindowTop ) + 25; Left: Get ( WindowLeft ) + 25]
Go to Layout ["Print Invoices"]
Enter Preview Mode [Pause: Off]