
318
Document
dreamweaver.saveAll()
Availability
Dreamweaver 3.
Description
Saves all open documents, opening the Save As dialog box for any documents that have not
been saved previously.
Arguments
None.
Returns
Nothing.
Enabler
See
“dreamweaver.canSaveAll()” on page 570
.
dreamweaver.saveDocument()
Availability
Dreamweaver 2.
Description
Saves the specified file on a local computer.
Arguments
documentObject
,
{fileURL}
■
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.
■
The
fileURL
argument, which is optional, is a URL that represents a location on a local
computer. If the URL is relative, it is relative to the extension file. In Dreamweaver 2, this
argument is required. If the
fileURL
argument is omitted in Dreamweaver 4, the file is
saved to its current location if it has been previously saved; otherwise, a Save dialog box
appears.
NO
TE
In Dreamweaver 2, if the file is read-only, Dreamweaver tries to check it out. If
the document is still read-only after this attempt, or if it cannot be created, an error
message appears.
000_DW_API_Print.book Page 318 Wednesday, July 20, 2005 11:58 AM
Summary of Contents for DREAMWEAVER 8-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 16: ......
Page 28: ...28 The File I O API...
Page 38: ...38 The HTTP API...
Page 68: ...68 Flash Integration...
Page 100: ...100 The Database API...
Page 116: ...116 The JavaBeans API...
Page 144: ...144 The Source Control Integration API...
Page 146: ......
Page 254: ...254 Workspace...
Page 298: ...298 Site...
Page 354: ...354 Document...
Page 396: ...396 Page Content...
Page 488: ...488 Design...
Page 550: ...550 Code...