Specifications

569
site.getLocalPathToFiles()
Availability
Dreamweaver MX
Description
Determines the disk path to the local files that are defined for the current site. The current site is
the site that is associated with the document that currently has focus. If no document has focus,
the site that you opened in Dreamweaver MX is used.
Note: ColdFusion Component Explorer makes use of this function, “site.getAppServerAccessType()” on page 565,
and “site.getAppServerPathToFiles()” on page 566.
Arguments
None.
Returns
Path to the files residing on the local machine for the current site.
site.getSelection()
Availability
Dreamweaver 3
Description
Determines which files are currently selected in the Site panel.
Arguments
None.
Returns
An array of strings that represents the paths of the selected files and folders, which is expressed as
a file:// URLs; or an empty array if no files or folders are selected.
site.getSiteForURL()
Availability
Dreamweaver MX
Description
Gets the name of the site, if any, that is associated with a specific file.
Arguments
fileURL
fileURL
is the fully qualified URL (including the string file://) for a named file.
Returns
A string that contains the name of the site, if any, in which the specified file exists. The string is
empty when the specified file does not exist in any defined site.