User Guide
314 Document
dreamweaver.newDocument()
Availability
Dreamweaver MX.
Description
Opens a document in the current site and invokes the New Document dialog box.
Arguments
{bopenWithCurSiteAndShowDialog}
■ The bopenWithCurSiteAndShowDialog argument, which is optional, has a value of true
or
false. Specify true to open a document with the current site and to cause the New
Document dialog box to appear;
false otherwise.
Returns
Nothing.
dreamweaver.newFromTemplate()
Availability
Dreamweaver 3.
Description
Creates a new document from the specified template. If no argument is supplied, the Select
Template dialog box appears.
Arguments
{templateURL}, bMaintain
■ The templateURL argument is the path to a template in the current site, which is
expressed as a file:// URL.
■ The bMaintain argument is a Boolean value, true or false, that indicates whether to
maintain the link to the original template.
Returns
Nothing.
000_DW_API_Print.book Page 314 Wednesday, July 20, 2005 11:58 AM