User Guide

File manipulation functions 319
Returns
A Boolean value that indicates success (true) or failure (false).
Enabler
See dreamweaver.canSaveDocument()” on page 571.
dreamweaver.saveDocumentAs()
Availability
Dreamweaver 3.
Description
Opens the Save As dialog box.
Arguments
documentObject
The documentObject argument is the object at the root of a document’s DOM tree,
which is the value that the
dreamweaver.getDocumentDOM() function returns.
Returns
Nothing.
dreamweaver.saveDocumentAsTemplate()
Availability
Dreamweaver 3.
Description
Opens the Save As Template dialog box.
Arguments
documentObject, {fileName}
The documentObject argument is the object at the root of a document’s DOM tree,
which is the value that
dreamweaver.getDocumentDOM() returns.
The fileName argument, which is optional, is the name of the file to open, expressed as
an absolute URL.
Returns
Nothing.
000_DW_API_Print.book Page 319 Wednesday, July 20, 2005 11:58 AM