
662
ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Last updated 9/26/2011
The
encodingName
parameter can be set to one of the following values:
Returns
True
if the specified encoding is supported for the current session, else returns
False
.
Returns
bool
Syntax
IsEncodingSupported(encodingName)
Parameters
LoadMenuCustomizationFile
Description
Loads a menu customization file.
A menu customization file is a text file containing statements that change the menus and commands the user sees in
FrameMaker. For example, a menu customization file can change the name of a command or move a command from
one menu to another.
The method returns
FE_Success
on success.
On failure, the method sets
FA_errno
to one of the following values:
Returns
Void
Syntax
LoadMenuCustomizationFile(pathname, silent)
Value
Meaning
FrameRoman
Roman Text.
JISX0208.ShiftJIS
Japanese Text.
BIG5
Traditional Chinese Text.
GB2312-80.EUC
Simplified Chinese Text.
KSC5601-1992
Korean Text.
Parameter name
Data Type
Optional
Description
encodingName
string
No
The encoding that you want to test.
Error
Reason
Constants.FE_WrongProduct (-60)
The product version does not support this operation.
Constants.FE_BadParameter (-43)
Parameter has an invalid value.
Constants.FE_BadOperation (-27)
Parameters specify an invalid operation.
Constants.FE_SystemError (-42)
System error.