
54
ADOBE FRAMEMAKER SCRIPTING GUIDE
Object Reference
Last updated 9/26/2011
Command
Property name
Data Type
Description
CanHaveCheckMark
int
Returns True if the menu item can have a check mark. If
the menu item is defined by FrameMaker, you can read
this property, but not set it.
CheckMarkIsOn
int
Returns True if the menu item can have a check mark and
the check mark is on. If the menu item is defined by
FrameMaker, you can read this property, but not set it.
CommandNum
int
Represents the integer that you specified for the
cmd
parameter of
DefineAndAddCommand()
or
DefineCommand()
. When the user executes the
command, FrameMaker passes this integer to your
client's
Command()
function.
If the menu item is defined by FrameMaker, you can read
this property, but not set it.
EnabledWhen
int
The context in which the menu item is enabled.. If the
menu item is defined by FrameMaker, you can read this
property, but not set it.
The following are the values that the
EnabledWhen
property can have and the corresponding contexts in
which a menu item is active.
•
Constants.FV_ENABLE_OBJ_PROPS (8) - The insertion
point is in text, a table, or a math object, or a graphic
object is selected.
•
Constants.FV_ENABLE_IN_TABLE (9) - The insertion
point or selection is in any part of a table.
•
Constants.FV_ENABLE_IN_TABLE_TITLE (10) - The
insertion point or selection is in the table title.
•
Constants.FV_ENABLE_IN_CELL_TEXT (11) - The
insertion point or selection is in a table cell.
•
Constants.FV_ENABLE_IS_CELL (12) - A single cell in a
table is selected.
•
Constants.FV_ENABLE_IS_CELLS (13) - One or more
cells in a table are selected.
Содержание 65030365 - FrameMaker - PC
Страница 1: ...Scripting Guide ADOBE FRAMEMAKER 10...