Adobe 65030365 - FrameMaker - PC Manual page 661

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

Advertisement

ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Returns
Doc
Syntax
CustomDoc(width, height, numCols, columnGap, topMargin, botMargin, leftinsideMargin,
rightoutsideMargin, sidedness, makeVisible)
Parameters
Parameter name
width
height
numCols
columnGap
topMargin
botMargin
leftinsideMargin
rightoutsideMargin
sidedness
makeVisible
DefineMenu
Description
Defines a menu (FO_Menu object). After you define a menu, you can add it to a menu or a menu bar with
.
AddMenuToMenu()
If you call
and specify the name of a menu that is already defined in the user's menu configuration files,
DefineMenu()
the FrameMaker product gives precedence to the definition in the configuration files. If the configuration files assign a
label to the menu, the FrameMaker product uses it instead of the one you specify.If the user has already defined a menu
with the name specified by name,
The method returns the new menu on success.
On failure, the method sets
FA_errno
Error
Constants.FE_WrongProduct (-60)
Constants.FE_BadParameter (-43)
Constants.FE_BadOperation (-27)
Constants.FE_NotMenu (-72)
Data Type
Optional
int
No
int
No
int
No
int
No
No
int
int
No
No
int
int
No
No
int
bool
No
ignores the label parameter and uses the label specified by the user.
DefineMenu()
to one of the following values:
Reason
Current FrameMaker product does not support this operation or
Parameter has an invalid value.
Parameters specify an invalid operation.
name
specifies a command; cannot redefine a command as a menu.
Last updated 9/26/2011
Description
The document page width.
The document page height.
The default number of columns.
The default column spacing.
The document page top margin.
The document page bottom margin.
The left margin for single-sided documents, or the inside margin
for double-sided documents.
The right margin for single-sided documents, or the outside
margin for double-sided documents.
A constant that specifies whether the document is single-sided
or doublesided and on which side the document starts.
Specifies whether the document is visible after it is created. Set
to
True
to make the document visible.
fmbatch
653
is running

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 10

Table of Contents