Script Steps Reference

Table Of Contents
Miscellaneous script steps
F
ILEMAKER PRO SCRIPT STEPS REFERENCE 277
Exit Application
Purpose
Closes all open files; and in FileMaker Pro, exits the application.
Format
Exit Application
Options
None.
Compatibility
Originated in
FileMaker Pro 6.0 or earlier
Description
The Exit Application script step does the following in other FileMaker clients:
In FileMaker WebDirect, logs out the current web session and returns you to the
FileMaker
WebDirect Launch Center.
In FileMaker Go, closes all open databases and leaves FileMaker Go running.
In Custom Web Publishing, logs out the current web session, closes virtual windows, but
does not exit the web browser.
Example 1
Prevents the user from opening the database on a weekend. Started by the OnFirstWindowOpen
script trigger.
Allow User Abort [Off]
If [DayName ( Get ( CurrentDate ) ) = "Saturday" or DayName ( Get (
CurrentDate ) ) = "Sunday"]
Exit Application
End If
Where the script step runs Supported
FileMaker Pro Yes
FileMaker Server Yes
FileMaker Go Partial
Custom Web Publishing No
FileMaker WebDirect Partial
Runtime solution Yes