Reference > Script steps reference > Miscellaneous script steps > Install Menu Set
 
Install Menu Set
Purpose 
Changes the menu set based on conditions established in the script.
See also 
Format 
Install Menu Set [<menu set name>; Use as file default: On/Off]
Options 
<menu set name> specifies the menu set to install.
Use as file default overrides the file’s default menu set specified in the Manage Custom Menus dialog box with the menu set specified in this script step. Once you close the file, the default menu set reverts to the one specified in the Manage Custom Menus dialog box. Select the menu set that you want the script step to install from the list.
Compatibility 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server 
No 
FileMaker Go 
Yes 
Custom Web Publishing 
No 
FileMaker WebDirect 
No 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 8.0
Example 1 
Goes to the Invoice Details layout and installs the Invoices Menu Set if the Print Invoices Menu Set was installed.
Go to Layout ["Invoice Details"]
If [Get ( CustomMenuSetName ) = "Print Invoices Menu Set"]
Install Menu Set ["Invoices Menu Set" ; Use as file default: Off]
End If
Related topics 
Get(CustomMenuSetName) function
Script steps reference (alphabetical list)
Script steps reference (category list)