Move/Resize Window
Purpose 
Adjusts the size or location of the chosen window.
Format 
Move/Resize Window [Current window or Name: <name of window>; Current file; Height: <n>; Width: <n>; Top: <n>; Left: <n>]
Options 
Click Specify to set the move/resize options.
 •
Current Window selects the current foreground window when the script step is performed.
 •
Window Name selects an open window by name. You can enter literal text or click Specify to create a window 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).
 •
Height is the height of the adjusted window in pixels. You can enter a number or click Specify to generate a number from a calculation.
 •
Width is the width of the adjusted window in pixels.You can enter a number or click Specify to generate a number from a calculation.
 •
Distance from top is the adjusted 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 adjusted 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 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server scheduled script 
No 
FileMaker Go 
No 
Custom Web Publishing 
No 
Instant Web Publishing 
No 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 6.0 or earlier
Description 
The adjusted window maintains 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 original location and size of the window as default values.
 •
Minimum window height and width depend on the script user’s operating system. If the height and width values you specify are less than the minimum, FileMaker Pro uses the minimum values.
 •
Maximum window height and width depend on the script user’s screen resolution. If the height or width values you specify are greater than the maximum, FileMaker Pro uses the maximum value possible.
 •
 •
Windows: FileMaker Pro orients the moved window to the top left corner of the visible part of the application window. Note that this may not be the (0,0) point of the window, depending on how the current file window is positioned (for example, if half of the file window extends past the left border of the application window, you would need to scroll to the left to see the (0,0) point of the application window).
Examples 
Go to Layout [“List of Members”]
Move/Resize Window [Current Window; Height: 400; Width: 600;
Top: 16; Left: 16]
Related topics 
Defining calculation fields
Script steps reference (alphabetical list)
Script steps reference (category list)