A SERVICE OF

logo

26 FileMaker Pro Advanced Development Guide
Keep these points in mind:
1 To override a command’s behavior (title, shortcut, or action), you
must select its checkbox. If the checkbox is not selected, the original
command behavior is retained.
1 Icons on the toolbar are linked to menu items. If you customize a
menu item that has a toolbar icon, you also customize the icon. For
example, the New Record icon is linked to the New Record menu
item. If you customize the New Record menu item by renaming it to
New Contact and specify a script be performed, the toolbar icon will
perform the custom New Contact script and the tooltip for the icon
will display
New Contact. The Usage area of the Edit Custom Menu
dialog box indicates that you are customizing a menu item that is
linked to a toolbar icon.
1 Shortcut menus display when a user right-clicks (Windows) or
Control-clicks (Mac OS) an object or an area. If you customize a
menu item that has a shortcut menu item, you also customize the
behavior performed by the shortcut menu item.
1 FileMaker Pro Advanced updates menus and menu items when a
menu set change is requested either through switching modes,
windows, or layouts, or by performing a script that accomplishes a
similar result. Menu and menu item titles based on field contents or
functions only update when menu sets change.
1 If you enter the same shortcut or access keys for two menu items,
FileMaker will recognize the first occurrence in the menu bar (from
right to left, top to bottom).
1 If you want an ampersand to appear as part of a menu or menu item
title, you must type the ampersand twice. For example, if you want a
menu title to appear as Records & Reports, enter the title as
Records
&& Reports.
Define a shortcut for a
menu item
Select Shortcut. In the Specify Shortcut dialog box,
type the key combination, then click OK.
Perform a script or
script step when a user
selects a menu item
Select Action, do one of the following, then click OK.
1 Select Script. In the Specify Script Options dialog
box, select a script and enter the optional script
parameters as necessary.
1 Select Script Step. In the Specify Script Step dialog
box, select a step and specify options as necessary,
then click OK.
Note Untitled menu items do not have an Action
checkbox.
Tip To affect the behavior of a currently running
script (for example, to halt, exit, resume, or pause the
script), choose Script Step and then use the Perform
Script script step.
For more information about scripts and script steps,
see Help.
To Do this
Edit Custom Menu dialog box
Specify
menu item
properties
Usage
information
about the
selected
command