
433
ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Last updated 9/26/2011
Returns
BookComponent
Syntax
NewSeriesBookComponent(previous)
Parameters
NewBookComponentOfTypeInHierarchy
Description
TBD
Returns
BookComponent
Syntax
NewBookComponentOfTypeInHierarchy(compName, compType, elemLoc)
Parameters
Save
Description
The
Save()
method saves a book. The method allows you to script the way FrameMaker saves the file and to specify
responses to warnings and messages that arise while the file is being saved.
You can save a file under its current name or save it as a new file.
The property list for the
saveParams
parameter is as follows:
Parameter name
Data Type
Optional
Description
previous
Object
No
The location of the object in the series after which to add the
new Book Component. To add a paragraph at the start of a flow,
specify the location of the flow. To add a Book Component at the
beginning of any other series, specify 0.
Parameter name
Data Type
Optional
Description
compName
string
No
TBD
compType
int
No
TBD
elemLoc
ElementLoc
No
TBD
Property
Meaning
Constants.FS_SavedFileName (1)
A string that specifies the full path of the saved file.
Constants.FS_SaveNativeError (2)
The error condition. If the file is saved successfully, this property is set to
FE_Success
.
Constants.FS_SaveStatus (3)
A bit field indicating what happened when the file was saved.