Script Steps Reference

Table Of Contents
Chapter 12
|
Open Menu Item script steps 117
Example
The following script displays a message box that asks if the user wants to create or edit a
value list, and opens the Manage Value Lists dialog box if the response is Yes.
Show Custom Dialog ["Do you want to create or edit a value list?"]
If [Get (LastMessageChoice) = 1]
#1=Yes, 2=No
Open Manage Value Lists
End If
Open Find/Replace
Format
Open Find/Replace
Options
None.
Web compatibility
This script step is not web-compatible.
Description
Opens the Find/Replace dialog box. You could use this script step to open the dialog box
for users if you have restricted their access to FileMaker Pro menus. (This is the same as
choosing Edit menu > Find/Replace > Find/Replace.)
Example
The following script displays a message box that asks if the user wants to open the Find/
Replace dialog box, and opens it if the response is Yes.
Show Custom Dialog ["Open the Find/Replace dialog box?"]
If [Get (LastMessageChoice) = 1]
#1=Yes, 2=No
Open Find/Replace
End If
Open Help
Format
Open Help
Options
None.