Adobe FrameMaker-12 Object Model JS: Command

FrameMaker 12.0

Class

Command

 

QuickLinks

Delete, Delete, GetProps, ObjectValid, SetProps

Properties

PropertyTypeAccessDescription
CanHaveCheckMarkint readwrite
CheckMarkIsOnint readwrite
CommandNumint readwrite
EnabledWhenint readwrite
ExpandOMaticParentCommand readonly
Fcodeunsigned int readonly
FcodesUInts readonly
HasShiftOrUnshiftCommandint readwrite
HelpLinkstring readwrite
KeyboardShortcutLabelstring readwrite
KeyboardShortcutsStrings String readwrite
Labelstring readwrite
LabelsStrings String readwrite
MenuItemIsEnabledint readonly
MenuItemTypeint readonly
Modeint readonly
Namestring readonly
NextCommandInSessionCommand readonly
NextMenuItemInMenuFMObject readwrite
NextMenuItemInSessionFMObject readonly
PrevMenuItemInMenuFMObject readwrite
Productint readwrite
ShiftOrUnshiftCommandCommand readwrite
Viewint readwrite
Windowint readwrite

Methods

Instances

int Delete ()

int Delete ()

PropVals GetProps ()

int ObjectValid ()

void SetProps (setVal: PropVals)

ParameterTypeDescription
setValPropVals

Element of

Command.ExpandOMaticParent

Command.NextCommandInSession

Command.ShiftOrUnshiftCommand

app.FirstCommandInSession

Used in:

number Menu.AddCommandToMenu (command: Command)

Return

Command Menu.DefineAndAddCommand (cmdNum: number, name: string, label: string, shortcut: string)

Command app.GetNamedCommand (name: string)

Command app.NewNamedCommand (name: string)

Jongware, 18-Jan-2015 v1.0Contents :: Index