27
ADOBE FRAMEMAKER 7.0
Changing Menus and Commands
Online manual
To define an Asian typography command, use the <AsianFonts Yes> statement. For example, the following
statements define the Format > Document > Combined Fonts command:
<Command CombinedFonts
<Label Combined Fonts...>
<KeySequence \!oco>
<Definition \x338>
<AsianFonts Yes>
<Mode All>>
The <AsianFonts No> statement has the same effect as omitting the statement. If the AsianFonts statement is
set to No or is not specified, the command applies to all configurations.
Removing a command
You can remove commands from a menu. Removing a command from a menu doesn’t remove the actual
command or its associated keyboard shortcut from FrameMaker. Only the menu changes.
Removing a command also doesn’t affect other commands, even though they may seem to be related. For
example, if you remove the Group command, the Ungroup command doesn’t disappear.
To remove a command, use the following statement:
<Remove ItemID <Menu MenuID>>
ItemID is the identifier of the command that you’re removing. MenuID is the identifier of the menu containing
the item you want to remove.
If a command appears on more than one menu and you want to remove it from each menu, use one Remove
statement for each menu. For instance, to remove the Reshape command from both the quick and complete
Graphics menus, use the following statements:
<Remove GraphicsReshape <Menu GraphicsMenu>>
<Remove GraphicsReshape <Menu QuickGraphicsMenu>>
Adding shortcuts for a command
There are two ways to specify a shortcut for a command. One is to specify a mnemonic shortcut and the other
is to specify a key sequence. A mnemonic shortcut is a one-character shortcut; the character must occur
somewhere in the label for the command. A key sequence shortcut usually consists of more than one key.
Adding mnemonic shortcuts A mnemonic shortcut is an underlined character in a command label. When the
menu is open, you can press the underlined key to execute the command. For example, when the File menu is
open, you can press x to choose the Exit command.
To specify a mnemonic shortcut for a command, find the statement in which the command’s label is specified
and place an ampersand before the letter of the label which you wish to underline.
For example, the identifier for the Exit command on the File menu is TerminateMaker. In the cmds.cfg file this
command is given the label Quit. This value is overridden in the wincmds.cfg file with the following statement
(notice the & before the x):
<Modify TerminateMaker <Label E&xit>>
The mnemonic shortcuts will not be displayed unless the AutoMnemoniseMenus setting in the product initial-
ization file is set to On (see “Menu preferences” on page 7).