Script Steps Reference
Table Of Contents
- Chapter 1 Introduction
- Chapter 2 Control script steps
- Chapter 3 Navigation script steps
- Chapter 4 Editing script steps
- Chapter 5 Fields script steps
- Set Field
- 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
- Chapter 6 Records script steps
- Chapter 7 Found Sets script steps
- Chapter 8 Windows script steps
- Chapter 9 Files script steps
- Chapter 10 Accounts script steps
- Chapter 11 Spelling script steps
- Chapter 12 Open Menu Item script steps
- Chapter 13 Miscellaneous script steps
- Appendix A Glossary
Chapter 12
|
Open Menu Item script steps 129
Use this script step to open the File Options dialog box for users if you have restricted their
access to FileMaker Pro menus.
Example
The following script displays a message box that asks if the user wants to open the File
Options dialog box, and opens it if the response is Yes.
Show Custom Dialog ["Open File Options dialog box?"]
If [Get (LastMessageChoice) = 1]
#1=Yes, 2=No
Open File Options
End If
Open Define Database
Format
Open Define Database
Options
None.
Web compatibility
This script step is not web-compatible.
Description
Opens the Define Database dialog box, where the user can create or edit tables, fields,
and relationships. (This is the same as choosing File menu > Define Database.)
Notes
• The user’s account
must be assigned the Full Access privilege set, or this script step
will not be performed. (Select Run script with full access privileges to enable the
script for all users.)
• See FileMaker Pro Help for information about making schema changes to shared
databases.
Example
The following script displays a message box that asks if the user wants to create a field,
and opens the Define Database dialog box if the response is Yes.
Show Custom Dialog ["Do you want to create or edit a field?"]
If [Get (LastMessageChoice) = 1]
#1=Yes, 2=No
Open Define Database
End If