User Guide
Site functions 233
Returns
A Boolean value: true if all the selected links are visible; false otherwise.
site.getLocalPathToFiles()
Availability
Dreamweaver MX.
Description
Determines the 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 is used.
Note: ColdFusion Component Explorer uses this function; see site.getAppServerAccessType() and
site.getAppServerPathToFiles().
Arguments
None.
Returns
The path to the files residing on the local computer 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:// URL 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.
000_DW_API_Print.book Page 233 Wednesday, August 20, 2003 9:14 AM