Script Steps Reference

Table Of Contents
Windows script steps
F
ILEMAKER PRO SCRIPT STEPS REFERENCE 166
Close Window
Purpose
Closes the currently active window or any other window by name.
Format
Close Window [Current Window/Name: <name of window>; Current file]
Options
Current Window closes the active window.
Window Name specifies which window you want FileMaker Pro to close.
Current file only restricts matches to the current file (not selecting this option matches all
available FileMaker
Pro files).
Compatibility
Originated in
FileMaker Pro 6.0 or earlier
Description
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.
Example 1
Goes to a related record in the Invoices table using the Print Invoices layout, prints, and closes the
window.
Go to Related Record [Show only related records; From table: "Invoices";
Using layout: “Print Invoices”; New Window]
Print [Restore: Printer; With dialog: Off]
Close Window [Current Window]
Where the script step runs Supported
FileMaker Pro Yes
FileMaker Server Yes
FileMaker Go Yes
Custom Web Publishing Yes
FileMaker WebDirect Yes
Runtime solution Yes