Script Steps Reference

Table Of Contents
FILEMAKER SCRIPT STEPS REFERENCE 14
#Example 4: This script uses script parameters to pass text
entered by the user to another script, which creates a new account
Fields
account_name Text Global Storage
password Text Global Storage
Script: Get New Account Info
#Clear the Account Name and Password fields for new information
Set Field [ first_table::account_name; "" ]
Set Field [ first_table::password; "" ]
Show Custom Dialog [ Title: "Create A New Administrator Account";
Message: "Please enter an account name and password for your new user.";
Buttons: “OK”, “Cancel”; Input #1: first_table::account_name; Input #2:
first_table::password ]
Perform Script [ “Make New Account”; Parameter:
first_table::account_name & ¶ & first_table::password ]
Script: Make New Account
Add Account [Account Name: LeftValues( Get( ScriptParameter ); 1);
Password: LeftValues( Get( ScriptParameter ); 2); Privilege Set:
"[Data Entry Only]"]
Related topics
Script steps reference (alphabetical list)
Contents
Pause/Resume Script
Purpose
Pauses a script indefinitely or for a specified length of time so the user can perform other tasks in
the current window.
Format
Pause/Resume Script [Duration (seconds) <n>]
Options
Click Specify to display the Pause/Resume Options dialog box, where you can set the following
options.
Select Indefinitely to pause the script until the user clicks Continue (a button created by
FileMaker Pro in the status toolbar) or presses Enter.
Select For duration and enter the number of seconds to pause the script.
Select For duration and click Specify to create a calculation to determine the number of
seconds to pause the script.