Adobe 65030365 - FrameMaker - PC Manual page 597

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

Advertisement

ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Syntax
DefineAndAddMenu(name, label)
Parameters
Parameter name
name
label
MenuItemInMenu
Description
Determines if a menu item or menu is on a menu or menu bar.
On success, the method returns the menu on which the menu item is found.
On failure, the method returns one of the following values to
Error
Constants.FE_WrongProduct (-60)
Constants.FE_BadOperation (-27)
Constants.FE_BadParameter (-43)
Returns
Menu
Syntax
MenuItemInMenu(menuitem, recursive)
Parameters
Parameter name
menuitem
recursive
Delete
Description
Deletes a menu or menu item.
See
Delete
under the AFrame class for more information.
Data Type
Optional
No
string
string
No
FA_errno
Reason
Current FrameMaker product does not support this operation or
Parameters specified an invalid operation.
The specified parameter has an invalid value.
Data Type
Optional
MenuItemCom
No
ponent
No
bool
Last updated 9/26/2011
Description
A unique name for the new menu. If the user or an ESTK client
has already defined a command or menu with this name, the
new menu replaces it.
The title of the menu as it appears on the menu bar or menu.
:
fmbatch
Description
The menu item or menu to find.
Specifies whether to search the submenus of the menu or menu
bar specified by
. Specify
menuitem
589
is running.
to search them.
True

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 10

Table of Contents