Reference > Script steps reference > Windows script steps > Freeze Window
 
Freeze Window
Purpose 
Stops updating the active window.
See also 
Format 
Freeze Window
Options 
None.
Compatibility 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server 
No 
FileMaker Go 
Yes 
Custom Web Publishing 
No 
FileMaker WebDirect 
Yes 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 6.0 or earlier
Description 
Use Freeze Window to hide actions from the user while FileMaker Pro performs the remainder of the script. Use a Refresh Window or a Pause/Resume script step to resume updating the active window after a Freeze Window script step.
Note  A Refresh Window step is not needed if it would be the last step in a script. FileMaker Pro automatically turns off Freeze Window and refreshes the display when a script ends. Use Refresh Window to force a window update within a script.
Example 1 
Freezes the window, goes to the Print Invoices layout, prints, and returns to the original layout.
Freeze Window
Go to Layout ["Print Invoices"]
Print [Restore: Printer; With dialog: Off]
Go to Layout [original layout]
Example 2 
Freezes the window, then copies data from the Work Phone field to the Day Contact field in all records.
Freeze Window
Go to Record/Request/Page [First]
Loop
Set Field [Customers::Day Contact; Customers::Work Phone]
Go to Record/Request/Page [Next; Exit after last]
End Loop
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)