Adobe 65030365 - FrameMaker - PC Manual page 505

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

Advertisement

ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Error
Constants.FE_BadDocId (-2)
Constants.FE_TypeUnNamed (-19)
Constants.FE_NameNotFound (-20)
Returns
Object
Syntax
GetUniqueObject(objType, unique)
Parameters
Parameter name
objType
unique
Close
Description
Closes a document or a book.
Note: If there are unsaved changes in a document and you set
parameter,then the
Close()
Note: If you set the
parameter to 0, the
flags
Constants.FE_DocModified (-8)
The method returns
FE_Success
On failure, the method returns the following value to
Error
Constants.FE_DocModified (-8)
Returns
int
Syntax
Close(flags)
Parameters
Parameter name
flags
Reason
Invalid document
Objects of the specifies type are not identified by UIDs
Objects with the specified UID could not be found
Data Type
Optional
int
No
int
No
method abandons the changes and closes the file anyway.
method aborts the Close operation and returns
Close()
.
, on success.
FA_errno
Reason
The document was modified and the
Data Type
Optional
int
No
Last updated 9/26/2011
Description
The type of object (for example, FO_Pgf)
UID of the object
Constants.FF_CLOSE_MODIFIED (1)
:
flags
parameter was set to 0
Description
Specifies whether to abort or close open documents or books if
they have unsaved changes. Set the
Constants.FF_CLOSE_MODIFIED (1) flag to close open
documents and books regardless of their state.
497
for the
flags

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 10

Table of Contents