Adobe 65030365 - FrameMaker - PC Manual page 506

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

Advertisement

ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
SimpleSave
Description
Saves a document or book.
If you set the
parameter to
interactive
FrameMaker saves the document or book under its current name.
If you specify another filename for
If you specify an empty string (""), FrameMaker does not save the file. Instead it sets
Constants.FE_BadParameter (-43)
dialog box and allows the user to choose a filename. The document or book's current name appears as the default name.
The method returns the document it saved, on success.
On failure, the method returns one of the following values to
Error
Constants.FE_Canceled (-44)
Constants.FE_CanceledByClient (-86)
Constants.FE_WrongProduct (-60)
Constants.FE_FailedState (-45)
Constants.FE_BadParameter (-43)
Constants.FE_FilterFailed (-89)
Returns
Doc
and specify the document or book's current name for
False
, FrameMaker saves the document or book to that filename.
saveAsName
.If you set the
interactive
FA_errno
Reason
Constants.FV_FileNotWritable (33): File was not writable.
Constants.FV_BadSaveFileName (34): The specified file name is not allowed by the operating
system.
Constants.FV_BadFileId (35): The file's operating system ID was bad.
Constants.FV_CancelSaveFileIsInUse (50): The file is in use and the user did not or could not
reset the lock. Or the file is in use, and the
to Constants.FV_DoCancel (0), or it is set to Constants.FV_ResetLockAndContinue (7) but
FrameMaker could not reset the lock.
Constants.FV_CancelSaveModDateChanged (52): The file has changed since the last time it was
opened or saved in the current session.
Constants.FV_LockCouldntBeReset (2): File lock could not be reset.
Constants.FV_LockWasReset (0): File lock was reset.
Constants.FV_LockNotReset (1): File lock was not reset.
Constants.FV_FileIsViewOnly (4): File was View Only.
Constants.FV_NonPortableSaveName (37): File had a name that is not portable (Macintosh
only).
Constants.FV_NonPortableFileRefs (38): Referenced graphics files had filenames that are not
portable (Macintosh only).
The specified file contains structure and the current product interface is not Structured
FrameMaker.
The filename was invalid.
Constants.FV_InvalidSaveFilter (42): The filter specified by
(16)
is not installed, or the syntax for
Last updated 9/26/2011
to
FA_errno
parameter to
, FrameMaker displays the Save
True
:
Constants.FS_FileIsInUse
Constants.FS_SaveFileTypeHint
Constants.FS_SaveFileTypeHint (16)
498
,
saveAsName
(17) parameter is set
is invalid.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 10

Table of Contents