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 143
Examples
The following script displays a message box that asks if the user wants to share the current
database, and opens the FileMaker Network Settings dialog box if the response is Yes.
Show Custom Dialog ["Do you want to share your current database?"]
If [Get (LastMessageChoice) = 1]
#1=Yes, 2=No
Open Sharing
End If
Related topics
Script steps reference (alphabetical list)
Contents
Miscellaneous script steps
Miscellaneous script steps allow you to script miscellaneous actions, like:
• displaying a dialog box that presents the user with different options
• showing or hiding the toolbars
• playing the system alert sound
• launching a web browser and displaying a specified URL
• sending internet email
• sending a DDE command (Windows) or an event to another application
• exiting the application
Tip Use the Comment script step to annotate your scripts so your colleagues can understand them.
Show Custom Dialog
Purpose
Displays a custom message dialog box, with custom text and labels.
Format
Show Custom Dialog [<title>; <message text>; Table1::input field 1;...]
Options
Click Specify to display the “Show Custom Dialog” Options dialog box, where you can set the dialog
box title, message text, and buttons, and specify up to three fields to use for input or display.
General options
• Title lets you specify the title of the custom dialog box. You can enter literal text or click
Specify to create the dialog box title from a calculation.
• Message lets you specify the message of the dialog box.You can enter literal text or
click Specify to create the message text from a calculation.