Adobe 65030365 - FrameMaker - PC Manual page 596

Scripting guide
Hide thumbs Also See for 65030365 - FrameMaker - PC:
Table of Contents

Advertisement

ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
FrameMaker menubar
Menu bar for documents (quick menus)
Menu bar for documents (custom menus)
Menu bar for books (complete menus)
Menu bar for books (quick menus)
Structure menu bar (structured product interface only)
Pop-up menu for documents (complete menus; UNIX only)
Pop-up menu for documents (quick menus; UNIX only)
View-only menu bar
View-only pop-up menu (UNIX only)
Note: Your menu appears only on the menu bar you specify. For example, if you only add a menu to the
menu bar, the menu will not appear if the user switches to quick menus. For your menu to appear after the user has
switched to quick menus, you must also add it to
If you call
DefineAndAddMenu()
configuration files, FrameMaker gives precedence to the definition in the configuration files.
If the configuration files assign a label to the menu, FrameMaker uses it instead of the one you specify. If the menu is
already on a menu or menu bar, FrameMaker ignores the menu that you specify and leaves the menu where it is.
The following table lists the types of menus you can add a menu to and how FrameMaker implements the added menu.
Type of menu or menu bar
How FrameMaker implements the
you are adding a menu to
added menu
Menu bar
Pull-down menu
Pull-down menu
Pull-right menu
Pop-up menu
Pull-right menu
Pull-right menu
Pull-right menu
The method returns the menu, on success.
On failure, the method returns one of the following values to
Error
Constants.FE_WrongProduct (-60)
Constants.FE_NotMenu (-72)
Constants.FE_BadOperation (-27)
Constants.FE_BadParameter (-43)
Constants.FE_SystemError (-42)
Returns
Menu
Menubar string
!QuickMakerMainMenu
!CustomMakerMainMenu
!BookMainMenu
!QuickBookMainMenu
!StructureViewMainMenu
!MakerPopup
!QuickMakerPopup
!ViewOnlyMainMenu
!ViewerPopup
!QuickMakerMainMenu
and specify the name of a menu that is already defined in the user's menu
FA_errno
Reason
Current FrameMaker product does not support this operation or
The specified menu does not exist.
Parameters specified an invalid operation.
The specified parameter has an invalid value.
System Error
Last updated 9/26/2011
.
FrameMaker product adds the menu
At the right of the menu bar.
At the bottom of the pull-down menu.
At the bottom of the pop-up menu.
At the bottom of the pull-right menu.
:
fmbatch
588
!MakerMainMenu
is running.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 10

Table of Contents