
434
ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Last updated 9/26/2011
The method returns the document it saved, on success.
On failure the method sets
FA_errno
to one of the following values:
Returns
Object
Syntax
Save(saveAsName, saveParams, saveReturnParams)
Error
Reason
•
Constants.FE_Canceled (-44)
•
Constants.FE_CanceledByClient (-86)
•
Constants.FV_FileNotWritable (33) - File was not writable.
•
Constants.FV_BadSaveFileName (34) - The specified filename 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
Constants.FS_FileIsInUse
(17) parameter is set
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).
Constants.FE_WrongProduct (-60)
The specified file contains structure and the current product interface is not Structured
FrameMaker.
Constants.FE_FailedState (-45)
Constants.FE_BadParameter (-43)
The filename was invalid.
Constants.FE_FilterFailed (-89)
Constants.FV_InvalidSaveFilter (42) - The filter specified by Constants.FS_SaveFileTypeHint (16) is
not installed, or the syntax for Constants.FS_SaveFileTypeHint (16) is invalid.
Содержание 65030365 - FrameMaker - PC
Страница 1: ...Scripting Guide ADOBE FRAMEMAKER 10...