
26
ADOBE FRAMEMAKER 7.0
Changing Menus and Commands
Online manual
Renaming a command
You can change the label of a command that appears on a menu. You can change the label everywhere it appears,
or in only one of several places.
To rename a command everywhere it appears, use the following statement:
< Mo d i f y
ItemID
< L a b e l
NewLabel
> >
ItemID
is the identifier of the command you want to rename.
NewLabel
is the new label.
For example, to rename the New command to Create New, use the following statement:
< Mo d i f y Ne w < L a b e l Cre a te Ne w. . . > >
To rename a command in only one place, define a new command that duplicates the function of the old one
(using the same key sequence, definition, and mode), but use a different label. Then put the new command on
the menu in place of the old one.
Creating a context-sensitive command
Some commands have a different label, and a different effect, depending on the state—where the insertion
point is, what is selected, and so on. For instance, if you have an insertion point in a text frame, there is a Select
All in Flow command on the Edit menu. If you have the text frame itself selected, this command changes to
Select All in Frame.
In these cases, the command has one overall identifier, followed by an identifier and label for each condition in
which it can be chosen. Each of the conditions has a ReservedLabel statement. The definition of the Edit >
Select command looks like this:
< Co m m a n d S e l e c t A l l
< Re s e r ve d L a b e l F l ow S e l e c t A l l i n F l ow >
< Re s e r ve d L a b e l Fr a m e S e l e c t A l l i n Fr a m e >
< Re s e r ve d L a b e l Pa g e S e l e c t A l l o n Pa g e >
< Ke y S e q u e n ce \ ! e a >
< D e fi n i t i o n \ x 3 2 7 >
< Mo d e A l l > >
The SelectAll command acts as a placeholder on the menu for the group of commands: Flow, Frame, and Page,
all of which have the same command definition.
Renaming a context-sensitive command
You rename the SelectAll command in the same way you rename any other command. To rename one of the
context-sensitive commands, include in the Modify statement both the identifier of the overall command and
the identifier of the specific context-sensitive command you are renaming. The identifier of the context-
sensitive command must be part of a ReservedLabel statement.
For example, to rename the Select All in Frame command:
< Mo d i f y S e l e c t A l l < Re s e r ve d L a b e l Fr a m e S e l e c t Eve r y t h i n g i n Fr a m e > >
Specifying commands specific to Asian typography
Currently, FrameMaker supports Asian typography for Japanese, Chinese, and Korean font encodings. You can
define a command so that it appears only when other commands and features appear for Asian typography features,
such as combined fonts or tsume. These commands appear in menus only if your system supports typing Asian text
in documents and dialog boxes.