Script Steps Reference

Table Of Contents
Control script steps
F
ILEMAKER PRO SCRIPT STEPS REFERENCE 31
Allow User Abort
Purpose
Prevents users from stopping a script if set to Off.
Format
Allow User Abort [<on or off>]
Options
On to allow users to stop a script by pressing Esc or Command-.(period) (OS X).
Off to prevent users from stopping a script by pressing Esc or Command-.(period) (OS X).
Compatibility
Originated in
FileMaker Pro 6.0 or earlier
Description
The Allow User Abort script step only affects the script that it is executed in.
By default, users can stop a script by pressing Esc or Command-.(period) (OS X). To prevent users
from stopping a script, use the Allow User Abort script step and set it to Off.
Example 1
Displays the records in the Print Invoices layout in a new window in Preview mode and pauses the
script. You can click Continue to print the invoices, or you can cancel printing in the Print dialog box
because the Print script step does not specify "Perform without dialog." Allow User Abort is Off so
that you aren't left with an extra window open if you cancel the script.
Allow User Abort [Off]
New Window [Name: "Print Invoices"; Style: Floating Document]
Go to Layout ["Print Invoices"]
Enter Preview Mode [Pause]
Print [Restore: Printer]
Close Window [Current Window]
Where the script step runs Supported
FileMaker Pro Yes
FileMaker Server scheduled script Yes
FileMaker Go Yes
Custom Web Publishing Yes
FileMaker WebDirect Yes
Runtime solution Yes