Script Steps Reference

Table Of Contents
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.