ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
If you set the
parameter to
interactive
a filename. The book's current name appears as the default file name.
The
method returns the book it saved, on success.
SimpleSave()
On failure, the method sets
FA_errno
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
Book
Syntax
SimpleSave(saveAsName, interactive)
Parameters
Parameter name
saveAsName
interactive
, FrameMaker displays the Save dialog box and allows the user to choose
True
, to one of the following values:
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 Constants.FS_SaveFileTypeHint (16) is
not installed, or the syntax for Constants.FS_SaveFileTypeHint (16) is invalid.
Data Type
Optional
string
No
No
int
Last updated 9/26/2011
Constants.FS_FileIsInUse
Description
The absolute path in which to save the document or book.
Specifies whether FrameMaker displays messages and warnings
to the user. Set this parameter to True to display messages and
warnings.
431
(17) parameter is set