Script Steps Reference
Table Of Contents
- Chapter 1 Introduction
- Chapter 2 Control script steps
- Chapter 3 Navigation script steps
- Chapter 4 Editing script steps
- Chapter 5 Fields script steps
- Set Field
- Set Next Serial Value
- Insert Text
- Insert Calculated Result
- Insert From Index
- Insert From Last Visited
- Insert Current Date
- Insert Current Time
- Insert Current User Name
- Insert Picture
- Insert QuickTime
- Insert Object (Windows)
- Insert File
- Update Link (Windows)
- Replace Field Contents
- Relookup Field Contents
- Export Field Contents
- Chapter 6 Records script steps
- Chapter 7 Found Sets script steps
- Chapter 8 Windows script steps
- Chapter 9 Files script steps
- Chapter 10 Accounts script steps
- Chapter 11 Spelling script steps
- Chapter 12 Open Menu Item script steps
- Chapter 13 Miscellaneous script steps
- Appendix A Glossary
98 FileMaker Script Steps Reference
Description
Stops updating the active window. Use Freeze Window to hide actions from the user while
FileMaker Pro performs the remainder of the script. Use Refresh Window after Freeze
Window to resume updating the window.
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
Freeze Window
Go to Record/Request/Page [First]
Loop
Set Field [Table1::Salary; Table1::Salary * 1.1]
Go to Record/Request/Page [Next; Exit after last]
End Loop
Refresh Window
Format
Refresh Window
Option
Select Flush cached join results to delete the results of queries for related records and
cause related records to be refreshed. Do not select this option if you know your script
does not affect related data, and if you want to minimize the performance impact of re-
accessing related data (particularly when sharing a database over a network).
Web compatibility
This script step is web-compatible.
Description
Updates the entire contents of the FileMaker Pro document window, including any related
records. You do not need to select ‘Flush cached join results’ in order to refresh the entire
window.
Example
Go to Record/Request/Page [First]
Loop
Set Field [Table1::Salary; Table1::Salary * 1.1]
Go to Record/Request/Page [Next; Exit after last]
End Loop
Refresh Window
Beep