Script Steps Reference
Table Of Contents
- Contents
- About script steps
- Script steps reference (alphabetical list)
- Control script steps
- Perform Script
- Pause/Resume Script
- Exit Script
- Halt Script
- If
- Else If
- Else
- End If
- Loop
- Exit Loop If
- End Loop
- Allow User Abort
- Set Error Capture
- Set Variable
- Install OnTimer Script
- Navigation script steps
- Go to Layout
- Go to Record/Request/Page
- Go to Related Record
- Go to Portal Row
- Go to Object
- Go to Field
- Go to Next Field
- Go to Previous Field
- Enter Browse Mode
- Enter Find Mode
- Enter Preview Mode
- 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
- 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 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.