background image

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...

Страница 2: ...ws and dialog bo xes 11 FDK clients 12 Dash patterns 13 Thermometer colors 14 Document comparison options 14 Spelling options 15 Basic font settings 16 Aliases for Windows fonts 18 Mappings for unav a...

Страница 3: ...mmands on page 20 Locating customization files In this manual install_dir represents the directory in which FrameMaker is installed Customization files are located in install_dir fminit install_dir fm...

Страница 4: ...that begins with a semicolon is a comment and is not read by the system User profile versions of maker ini FrameMaker always stores a copy of the product initialization file maker ini in install_dir T...

Страница 5: ...ker One specifies the install path HKEY_LOCAL_MACHINE SOFTWARE Microsoft Windows CurrentVersion AppPaths FRAME EXE default actual path to frame exe The other entry specifies the initialization file fo...

Страница 6: ...me or all of the settings The order of the settings listed here does not necessarily match the order in which they appear in the initialization file Exiting FrameMaker AskExit Off The AskExit setting...

Страница 7: ...e a pair of settings for each of these items so that both inches and centimeters can be specified The values that FrameMaker uses depend on the measurement system specified in the Number tab of the Re...

Страница 8: ...e The EPSLevelForPlacedPdf specifies the level of EPS to use for placed PDF images By default FrameMaker prints imported PDF Placed PDF files by converting them to Level 2 EPS files Use this setting t...

Страница 9: ...gWarnKbdRedundant to On you will see warning messages when you load the customization file if it contains redundant shortcut definitions If you set ConfigWarnKbdOverride to On you will see warning mes...

Страница 10: ...ault is Off FrameMaker does not consider Ctrl Alt G to be equivalent InputMethodAutoActivation Off On Typing text in Asian fonts is accomplished via a special input device FrameMaker can recognize whe...

Страница 11: ...eMaker treats it as a palette such as the Tools palette or Equations palette Palettes in AlwaysOnTopPalet teDir always float in front of documents ColorLib specifies the folder that contains color lib...

Страница 12: ...on your monitor If you need to reinstall the font reinstall the FrameMaker 7 0 product application files FMSmallFont contains the font used in the Tools palette Do not change this setting Menu and com...

Страница 13: ...the instructions in the file FirstRunOpenDoc specifies a document that displays only when you run FrameMaker for the first time After this document has been displayed once this setting is reset to ha...

Страница 14: ...is modified in the DialogLayout setting when you exit This becomes the default location the next time you start FrameMaker FDK clients The APIClients settings list FDK clients plug ins to start when...

Страница 15: ...contains a label that identifies the dash pattern in the Dashed Line Options dialog box and a repeating series of dash and gap segment lengths Dashes and gaps are measured in points The following illu...

Страница 16: ...d The MarkInsertedText settings control the standard choice for marking insertions You can choose the standard Inserted condition ConditionInserted a custom condition ConditionTag or Nothing Edit the...

Страница 17: ...indSpaceBefore and FindSpaceAfter be sure to leave a space between the On Off toggle and the character or group of characters to the right of it Quotation marks for Smart Quotes The last group of line...

Страница 18: ...in the Size pop up menu in the Paragraph Designer and Character Designer You can edit this line to change the values to any values between 4 and 400 points If the line contains more than 10 values onl...

Страница 19: ...hen determining the size of pop up menus You should not change this setting Fonts not used in spell checking NonTextFamilies ZapfDingbats Symbol WingDings Monotype Sorts This setting defines the font...

Страница 20: ...ions of FrameMaker For example Helvetica Narrow is normally a font family in Windows but with aliasing Helvetica appears as a font family and Narrow appears as a variation in the Character Designer an...

Страница 21: ...n asterisk to specify no particular angle weight or variation For example Lumina Helvetica Helvetica Light Helvetica Regular Helvetica UltraCompressed Helvetica Narrow If you open a document with unav...

Страница 22: ...a menu is a line that visually separates menu items into groups On most menus they are visible but have no other function However on menu bars they are invisible and serve a special function see Sepa...

Страница 23: ...o save it in Text Only format The default location and filename for the menu customization file is fminit configui customui cfg You do not have to use this file however You can create a menu customiza...

Страница 24: ...tomUIFile 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...

Страница 25: ...u bars or are associated with the Formatting bar You cannot remove these menus from the menu configuration file FrameMaker will not work properly without them Statement What statement does Menu Define...

Страница 26: ...menus document window active RulerAlignMenu Alignment pop up menu in the formatting bar RulerControlMenu Formatting bar RulerParaMenu Paragraph Formats pop up menu in the formatting bar RulerSpaceMen...

Страница 27: ...the above example there are four statements nested within the overall Command statement Each one of these determines one characteristic of the new command The first line creates a command called New...

Страница 28: ...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 Command SelectAll ReservedLabel Fl...

Страница 29: ...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 Addin...

Страница 30: ...Return Tab BkSp Space Delete Insert F1 through F16 and Escape For instance to include the Tab key as part of a key sequence you use Tab You might also want the new shortcut to appear on the menu next...

Страница 31: ...ainMenu Label MyOwnMenus Then add the menus that you want to appear on your menu bar You can use existing menus or define your own If you define your own you must define the menu first before adding i...

Страница 32: ...tedCommand is the identifier of the command as it normally appears ShiftedCommand is the identifier of the command you want to appear when you hold down the Shift key For example if you want the Ungro...

Страница 33: ...n you do this the menus that contain the functions you need to edit the object will replace some of the FrameMaker menus This is called menu merging For example the complete menu bar for FrameMaker Ma...

Страница 34: ...nu MakerMainMenu Add MSWindowMenu Menu MakerMainMenu Add Separator5 Menu MakerMainMenu Add HelpMenu Menu MakerMainMenu Rearranging menu items You can rearrange menus on the menu bar and menu items on...

Страница 35: ...abel is the new label for the menu For example to rename the Page Layout submenu on the Format menu to Page Design use the following statement Modify PageLayoutMenu Label Page Design Removing a menu o...

Страница 36: ...es 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 c...

Отзывы: