
651
ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Last updated 9/26/2011
Returns
int
Syntax
CallClient(clname, arg)
Parameters
CheckStatus
Description
Checks the scripts returned by
Open()
,
Import()
,
Save()
, and
UpdateBook()
to determine if a specified status bit is set.
Returns True if the bit is set, else returns False.
Returns
int
Syntax
CheckStatus(p, statusBit)
Parameters
ClientDir
Description
Returns the name of the current ESTK client’s directory.
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:
Error
Reason
Constants.FE_NameNotFound (-20)
There is no client with the specified name in the current FrameMaker productsession.
Constants.FE_BadParameter (-43)
For the TableSort client only: One of the arguments is invalid. For example, you gave a value for
the sort key that is greater than the number of columns or rows in the current table selection, or
you have no table cells selected.
Parameter name
Data Type
Optional
Description
clname
string
No
The registered name of the target client.
arg
string
No
A string that is passed to the target client.
Parameter name
Data Type
Optional
Description
p
PropVals
No
The property list returned by Open(), Save(), Import(), or
UpdateBook().
statusBit
int
No
The status bit to test.