Script Steps Reference

Table Of Contents
FILEMAKER SCRIPT STEPS REFERENCE 15
Compatibility
This script step is:
supported in web publishing only if the script is paused indefinitely
not supported in a FileMaker Server scheduled script
Originated in
FileMaker Pro 6.0 or earlier
Description
This script step can, for example, wait for a user to enter data, and then guide the user from screen
to screen, prompting for data entry as needed. You can also use Pause/Resume Script to help
debug your scripts, for example, to see what value is in a field at a particular point in a script or to
evaluate the progress of a script.
The Pause/Resume Script script step operates on the foreground window of the file from which the
script is performed. If the script’s current window is hidden, Pause/Resume Script brings that
window to the front and shows it.
The For duration value must evaluate as a number, which is the duration of the pause in seconds.
If you use the Specify Calculation dialog box to determine the duration, the calculation result must
be a number or your script will not pause.
To give you more control over a user's actions when a script pauses, FileMaker Pro makes some
menu commands unavailable to users. You can define buttons to let users perform actions not
available on the menus.
Examples
The following script displays a welcoming screen for three seconds when the database is opened,
then displays a data entry layout. The user cannot stop this script. The default state is off.
Allow User Abort [Off]
Go to Layout ["Welcome"]
Pause/Resume Script [Duration (seconds): 3]
Go to Layout ["Data Entry"]
Tip You can create a button with the Resume step to allow the user to resume a script if it's paused.
Related topics
Script steps reference (alphabetical list)
Contents
Exit Script
Purpose
Forces sub-scripts or external scripts to stop immediately and return to the main script, with or
without an optional script result.
Format
Exit Script [Result]