Debugging A Customized Configuration File; Changing Menu Configurations; Removing Formatting Bar Commands And Window Buttons - Adobe FrameMaker 7.0 User Manual

Hide thumbs Also See for FrameMaker 7.0:
Table of Contents

Advertisement

<Remove Gr aphicsReshape <Menu QuickGr a phicsMenu>>
Debugging a customized configuration file
If you're writing a lengthy menu customization file, consider writing and testing the customizations a few at a
time. This will make it much easier to locate problems in the statements you write. As you create the file, you
can save the file and then read it into FrameMaker to test your statements.
To display error messages when you load a menu customization file, set the ShowErrors setting in the initial-
ization file to On. You can also turn on the keyboard shortcut alerts, as discussed in "Menu preferences" on page 7.
Error messages appear in the console window. If you find errors, you can fix them immediately and continue writing.
When you read the same menu customization file again, you'll see error messages about redefining a command
(because the same statements are being read again). Don't worry about these messages.
Use comments throughout the menu customization file to document your work. Others may need to edit the
file later.
Changing menu configurations
You can switch to a custom menu by choosing View > Menus > Modify, and then selecting a menu file. For
information on setting your custom menus as the default see "Menu preferences" on page 7.

Removing formatting bar commands and window buttons

You can remove items from the formatting bar at the top of the document window. You can also remove the
buttons from the upper-right corner of the document window.
To remove the Paragraph Format pop-up menu, use the following statement:
<Remove !ShowRulerPar ag r aphTag s <Menu !RulerCont rolMenu>>
To remove the Alignment and Spacing pop-up menus and the tab wells, use the following statement:
<Remove !ShowRulerAlig nmentSpacingAndTabs <Menu !RulerCont rolMenu>>
To remove the buttons from the upper-right corner of the document window, use the following statement:
< Icon B a r O n No >
To redisplay the buttons, use the following statement:
< Icon B a r O n Ye s >
Adobe, the Adobe logo, and FrameMaker are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States
and/or other countries. Microsoft, Windows, and Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the
United States and/or other countries. All other trademarks are the property of their respective owners.
 2002 Adobe Systems Incorporated. All rights reserved.
ADOBE FRAMEMAKER 7.0
Changing Menus and Commands
34

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents