Script Steps Reference
Table Of Contents
- Contents
- Script steps reference (alphabetical list)
- About script steps
- Control script steps
- Navigation script steps
- Editing script steps
- Fields script steps
- Set Field
- Set Field By Name
- Set Next Serial Value
- Insert Text
- Insert Calculated Result
- Insert From Device
- Insert From Index
- Insert From Last Visited
- Insert From URL
- Insert Current Date
- Insert Current Time
- Insert Current User Name
- Insert Picture
- Insert Audio/Video
- Insert PDF
- Insert File
- Replace Field Contents
- Relookup Field Contents
- Export Field Contents
- Records script steps
- New Record/Request
- Duplicate Record/Request
- Delete Record/Request
- Delete Portal Row
- Delete All Records
- Open Record/Request
- Revert Record/Request
- Commit Records/Requests
- Copy Record/Request
- Copy All Records/Requests
- Import Records
- Export Records
- Save Records As Excel
- Save Records As PDF
- Save Records As Snapshot Link
- Found Sets script steps
- Windows script steps
- Files script steps
- Accounts script steps
- Spelling script steps
- Open Menu Item script steps
- Miscellaneous script steps
- Get Directory
- Show Custom Dialog
- Allow Formatting Bar
- Refresh Object
- Beep
- Speak (OS X)
- Dial Phone
- Install Plug-In File
- Install Menu Set
- Set Web Viewer
- Open URL
- Send Mail
- AVPlayer Play
- AVPlayer Set Playback State
- AVPlayer Set Options
- Refresh Portal
- Send DDE Execute (Windows)
- Perform AppleScript (OS X)
- Execute SQL
- Send Event
- Comment
- Flush Cache to Disk
- Exit Application
- Enable Touch Keyboard
- Glossary
Control script steps
F
ILEMAKER SCRIPT STEPS REFERENCE 32
Allow User Abort
Purpose
Allows or prevents users from stopping a running script.
Format
Allow User Abort [<on or off>]
Options
• On allows users to stop a script by pressing Esc or Command-.(period) (OS X).
• Off prevents 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 affects the script that it is executed in and all sub-scripts.
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.
The Allow User Abort script step also controls whether unknown (obsolete or unrecognized) script
steps stop the script. If this script step is set to On or is not included, unknown script steps will stop
the script; if Off, unknown script steps are skipped and the script continues to execute.
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