Adjust Window
Purpose 
Hides or changes the size of a window.
Format 
Adjust Window [Resize to fit/Maximize/Minimize/Restore/Hide]
Options 
Use Specify to choose an adjustment option.
 •
Resize to fit resizes the window to the minimum size possible while keeping all items in the layout visible.
 •
Maximize resizes the window to full-screen size.
 •
Minimize reduces the window to an icon on the status bar (Windows) or Dock (OS X)
 •
Restore returns the window to its previous size.
 •
Hide hides the current database window from view. This option is equivalent to the Hide Window menu command
Compatibility 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server scheduled script 
No 
FileMaker Go 
Yes 
Custom Web Publishing 
No 
FileMaker WebDirect 
No 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 6.0 or earlier
Example 1 
Goes to the Print Invoices layout, enters Preview mode, and resizes the window to fit the viewing area.
Go to Layout ["Print Invoices"]
Enter Preview Mode [ ]
Adjust Window [Resize to Fit]
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)