Help

Table Of Contents
FILEMAKER PRO HELP 1083
To return the file to its original state, perform a Close Window [] script step to close the open
window.
Select Window can make visible a hidden related file if the script step is executed from
within the hidden file.
Example 1
Selects the Print Invoices window. If the Print Invoices window is not open, creates a new window
and goes to the Print Invoices layout.
Select Window [Name: "Print invoices"]
If [Get ( LastError ) = 112]
New Window [Name: "Print Invoices"; Style: Floating Document]
Go to Layout ["Print Invoices"]
End If
Related topics
Defining calculation fields
Script steps reference (alphabetical list)
Script steps reference (category list)
Close Window
Purpose
Closes the currently active window or any other window by name.
Format
Close Window [Current window or Name: <name of window>; Current file]
Options
Click Specify to select which window you want FileMaker Pro to close. 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).
Note Closing the last window of a file closes the file and halts execution of the current script. In
FileMaker
WebDirect, closing the last window logs out the current web session.
Compatibility
Where the script step runs Supported
FileMaker Pro Yes
FileMaker Server scheduled script Yes
FileMaker Go Yes
Custom Web Publishing Yes
FileMaker WebDirect Yes