Specifications

570
site.getSites()
Availability
Dreamweaver 3
Description
Gets a list of the defined sites.
Arguments
None.
Returns
An array of strings that represents the names of the defined sites, or an empty array if no sites are
defined.
site.importSite()
Availability
Dreamweaver MX
Description
Creates a Dreamweaver site from an XML file. During import, if the folder that is specified by the
localroot attribute of the <localinfo> element does not exist on the local computer,
Dreamweaver prompts for a different local root folder. Dreamweaver behaves the same way when
it tries to locate the default images folder that is specified by the
imagefolder attribute of the
<localinfo> element.
Arguments
fileURL
fileURL
is a string that contains the URL for the XML file. Dreamweaver uses this XML file to
create a new site. If
fileURL is an empty string, Dreamweaver prompts the user to select an XML
file to import.
Returns
A Boolean value. The importSite() function returns true if the named XML file exists and if
the site is successfully created;
false otherwise.
site.invertSelection()
Availability
Dreamweaver 3
Description
Inverts the selection in the site map.
Arguments
None.
Returns
Nothing.