Reference > Script steps reference > Miscellaneous script steps > Exit Application
 

Exit Application

Closes all open files; and in FileMaker Pro Advanced, exits the application.

See also 

Options 

None.

Compatibility 

 

Product 

Supported 

FileMaker Pro Advanced 

Yes 

FileMaker Go 

Partial 

FileMaker WebDirect 

Partial 

FileMaker Server 

Yes 

FileMaker Cloud 

Yes 

FileMaker Data API 

No 

Custom Web Publishing 

No 

Runtime solution 

Yes 

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.

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)