Adobe 38040334 - Dreamweaver CS3 User Manual page 243

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

DREAMWEAVER CS3
238
API Reference
Example
The following code returns the DOM for a new, empty document:
var theDOM = dreamweaver.getNewDocumentDOM();
dreamweaver.getRecentFileList()
Availability
Dreamweaver 3.
Description
Gets a list of all the files in the recent files list at the bottom of the File menu.
Arguments
None.
Returns
An array of strings that represent the paths of the most recently accessed files. Each path is expressed as a file:// URL.
If there are no recent files, the function returns nothing.
dreamweaver.importXMLIntoTemplate()
Availability
Dreamweaver 3.
Description
Imports an XML text file into the current template document. This function operates on the document that has
focus, which must be a template. If you do not specify a filename argument, Dreamweaver opens a dialog box to
request the import file string.
Arguments
{filePath}
• The
argument, which is optional, is a string that specifies the filename to which Dreamweaver imports
filePath
.
the template. Express the
argument as a URL file string, such as
filePath
"file:///c/temp/mydata.txt"
Returns
Nothing.
dreamweaver.newDocument()
Availability
Dreamweaver MX.
Description
Opens a document in the current site and startss the New Document dialog box.
Arguments
{bopenWithCurSiteAndShowDialog}

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents