
22
ADOBE FRAMEMAKER 7.0
Changing Menus and Commands
Online manual
fminit\configui\customui.cfg
The file specified by the
ConfigCustomUIFile
setting in the initialization file.
The names of these configuration files are specified in the initialization file for FrameMaker (see “Menu and
command configuration files” on page 10).
Plug-ins (API clients) can also customize menus and commands. For example, a plug-in can add menus and
commands. When you start FrameMaker, menu customizations that you set up override the customizations
specified by plug-ins. For example, if a plug-in adds the command NewItem to the Special menu, and your
menu customization file adds NewItem to the View menu, then NewItem appears on the View menu and not
on the Special menu. For information on plug-in menu customizations, see the documentation you received
with the client.
Using menu customizations
If you create a menu customization file, you have several choices for reading the information into FrameMaker.
FrameMaker can read the file in automatically when it starts up, or you can load it yourself once the product is
running.
The customizations take effect as soon as the file is read. Any errors in the customization file are reported in the
FrameMaker console window. Each error message contains the line number in the file and a description of the
problem. Even if an error is found, the rest of the file will be read.
Reading a menu customization file at startup
If you want a menu customization file to be read at startup, set the
ConfigCustomUIFile
setting in the initialization file to the path and name of your menu customization file. If
you have defined a custom menu bar and you want it to replace FrameMaker’s menu bar, you also change the
MenuSet
setting in the initialization file to
Custom
. Then restart FrameMaker.
Reading a menu customization file interactively
To load a menu customization file when FrameMaker is already
running, choose View > Menus > Modify. Then choose a menu customization file and click OK.
To remove all customizations you read in interactively, restart FrameMaker. If you set up a menu customization
file to be read at startup, you must remove the pathname of your customization file as the value of the
Config-
CustomUIFile
setting in the initialization file and then restart FrameMaker.
Configuration file statements
A configuration file consists of a series of statements that define the menu names, menu items, and the order of
those items. The statements that name the menus and menu items specify both an identifier and a label.
FrameMaker uses the identifiers internally and display the labels as menu and command names. Other state-
ments that refer to these items use the identifiers.
All statements have the following characteristics:
•
Statements are case-sensitive.
•
Each statement is enclosed in angle brackets (< and >).
Where nested angle brackets are required, every left angle bracket must have a corresponding right angle
bracket. To include a right angle bracket as part of a menu or command identifier or label, precede it with a
backslash (\).
•
Statements must appear in a particular order.
For example, you must define a menu before adding it to the menu bar or another menu. You must add a
command to a menu before moving the command.