Exit Application
Purpose 
Closes all open files and exits the FileMaker Pro application.
Format 
Exit Application
Options 
None.
Compatibility 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server scheduled script 
Yes 
FileMaker Go 
Partial 
Custom Web Publishing 
No 
FileMaker WebDirect 
Partial 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 6.0 or earlier
Description 
 •
 •
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
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)