Script Steps Reference
Table Of Contents
- Contents
- About script steps
- Script steps reference (alphabetical list)
- 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 Index
- Insert From Last Visited
- Insert From URL
- Insert Current Date
- Insert Current Time
- Insert Current User Name
- Insert Picture
- Insert QuickTime
- 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
FILEMAKER SCRIPT STEPS REFERENCE 27
Allow User Abort script step and set it to Off. FileMaker Pro automatically turns Allow User Abort on
after the script finishes running.
Examples
To set up a kiosk solution, use:
Allow User Abort[Off]
Then, create the rest of the script as a looping script that never ends. Use the Allow User Abort
script step as the first step to prevent people from closing the file or exiting the application.
The next script steps display a “welcome” screen for three seconds when the database is opened,
then continues to a data entry layout. The user cannot cancel this “welcome” screen display.
Allow User Abort [Off]
Go to Layout ["Welcome"]
Pause/Resume Script [Duration (seconds): 3]
Go to Layout ["Data Entry"]
Allow User Abort[On]
The following script verifies that all records have client numbers entered, audibly notifies the user
when it finds a missing number, and waits so the user can enter the number. This script runs when
the database closes and can't be cancelled by the user.
Allow User Abort[Off]
Go to Record/Request/Page[First]
Loop
If[IsEmpty(Table1::clientNumberField)]
Speak["Client number is missing"]
Pause/Resume Script [Indefinitely]
End If
Go to Record/Request/Page [Exit after last; Next]
End Loop
Allow User Abort[On]
Related topics
Script steps reference (alphabetical list)
Contents
Set Error Capture
Purpose
Suppresses or enables normal FileMaker Pro alert messages.
Format
Set Error Capture [<on or off>]
Options
• On suppresses FileMaker Pro alert messages and some dialog boxes. If the error result is
100 or 803, then certain standard file dialog boxes are suppressed, such as the Open dialog
box.
• Off re-enables the alert messages.