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:
< Co m m a n d Co m b i n e d Fo n t s
< L a b e l Co m b i n e d Fo n t s . . . >
< Ke y S e q u e n ce \ ! o co >
< D e fi n i t i o n \ x 3 3 8 >
< As i a n Fo n t s Ye s >
< Mo d e A l l > >
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:
< Re m ove
ItemID
< Me nu
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:
< Re m ove Gr a p h i c s Re s h a p e < Me nu Gr a p h i c s Me nu > >
< Re m ove Gr a p h i c s Re s h a p e < Me nu Q u i c k Gr a p h i c s Me nu > >
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).
Содержание FrameMaker 7.0
Страница 1: ...Customizing Windows FrameMaker 7 0 Adobe...