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 Current Date
- Insert Current Time
- Insert Current User Name
- Insert Picture
- Insert QuickTime
- Insert Object (Windows)
- Insert File
- Update Link (Windows)
- Replace Field Contents
- Relookup Field Contents
- Export Field Contents
- Records script steps
- Found Sets script steps
- Windows script steps
- Files script steps
- Accounts script steps
- Spelling script steps
- Open Menu Item script steps
- Miscellaneous script steps
Control script steps
F
ILEMAKER SCRIPT STEPS REFERENCE 14
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 pasword 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: LeftWords( Get( ScriptParameter ); 1);
Password: LeftWords( Get( ScriptParameter ); 2); Privilege Set:
"[Data Entry Only]"]
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.
Compatibility
This script step is:
• supported in web publishing only if the script is paused indefinitely
• not supported in a FileMaker Server scheduled script
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