Script Steps Reference

Table Of Contents
146 FileMaker Script Steps Reference
Web compatibility
This script step is not web-compatible.
Description
Flush Cache to Disk performs an immediate flush of the FileMaker Pro internal disk cache
to the computer's hard disk. This operation is normally done periodically during idle time
and after extensive structural changes, such as converting files and defining fields.
Example
Perform Find [ ]
Sort Records [Restore]
Go to Record/Request/Page [First]
Replace Field Contents [script examples::Serial Number; Serial
numbers]
Flush Cache to Disk
Exit Application
Format
Exit Application
Options
None.
Web compatibility
This script step is web-compatible.
Description
Closes all open files and exits the FileMaker Pro application.
Example
The following example, used as a startup script, prevents the user from opening the
database on a weekend.
Allow User Abort[Off]
If [DayName(Get (CurrentDate)) = "Saturday" or DayName(Get(
CurrentDate)) = "Sunday"]
Exit Application
End If