
652
ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Last updated 9/26/2011
Returns
string
Syntax
ClientDir()
ClientName
Description
Returns the registered name of the current client (the client that calls
ClientName()
).
Note:
Use Free() to free the string returned by ClientDir() when you are done with it.
The method assigns the following value to
FA_errno
, on failure:
Returns
string
Syntax
ClientName(_)
CustomDoc
Description
Creates a new custom document using the FrameMaker product’s default new document template.
The sidedness parameter can have one of the following values:
The method returns the new document on success.
The method assigns the following value to
FA_errno
, on failure:
Error
Reason
Constants.FE_Transport (-1)
A transport error occured.
Error
Reason
Constants.FE_Transport (-1)
A transport error occured.
Vaule
Page Characterstics
Constants.FF_Custom_SingleSided (0)
Single sided.
Constants.FF_Custom_FirstPageRight (1)
Double-sided, starting with a right page.
Constants.FF_Custom_FirstPageLeft (2)
Double-sided, starting with a left page.
Error
Reason
Constants.FE_WrongProduct (-60)
The product version does not support this operation.
Constants.FE_BadParameter (-43)
Parameter has an invalid value.