
350
ADOBE FRAMEMAKER SCRIPTING GUIDE
Object Reference
Last updated 9/26/2011
Menu
Menu methods
AddCommandToMenu
,
AddMenuToMenu
,
DefineAndAddCommand
,
DefineAndAddMenu
,
Delete
,
Delete
,
GetProps
,
MenuItemInMenu
,
ObjectValid
,
SetProps
.
MenuItemSeparator
Property name
Data Type
Description
FirstMenuItemInMenu
FMObject
The first menu item in the menu.
MenuType
int
Type of menu. The value is one of:
•
Constants.FV_MENU_MENUBAR (1) - Amenu bar
defined by the FrameMaker product.
•
Constants.FV_MENU_POPUP (2) - A pop-up menu.
•
Constants.FV_MENU_DEFAULT (4) - A pull-down or
pull-right menu.
Label
string
The label the user sees on a menu. The label for menu
item separators is read-only; it is always
---
.
MenuItemIsEnabled
int
True if the menu item is enabled. False, if it is disabled.
Name
string
The command, menu, or menu item separator name.
The names for the default, predefined separators are
!Separator
,
!Separator1
,
!Separator2
,
!Separator3
,
!Separator4
, and
!Separator5
.
NextMenuItemInMenu
FMObject
The next menu item, menu, or separator in the menu.
NextMenuItemInSession
FMObject
The next menu item, menu, or separator in the list of
menu items, menus, and separators in the session.
PrevMenuItemInMenu
FMObject
The previous menu item, menu, or separator in the list of
menu items, menus, and separators in the session.
Property name
Data Type
Description
Label
string
The label for menu item separators is read-only; it is
always
---
.
MenuItemIsEnabled
int
True if the menu item separator is enabled. False, if it is
disabled.
Name
string
The menu item separator name.
The names for the default, predefined separators are
!Separator
,
!Separator1
,
!Separator2
,
!Separator3
,
!Separator4
, and
!Separator5
.
Содержание 65030365 - FrameMaker - PC
Страница 1: ...Scripting Guide ADOBE FRAMEMAKER 10...