Site.setselection(), Site.siterelativetolocalpath() – Adobe Dreamweaver API Reference CS5 User Manual
Page 249

244
DREAMWEAVER API REFERENCE
Site
Last updated 8/27/2013
Description
Gives focus to a specified pane in the Files panel. If the specified pane is not showing, this function displays the pane
and gives it focus.
Arguments
whichPane
,
nextTextView
•
The
whichPane
argument must be one of the following strings:
local
or
remote
.
•
The
nextTextView
argument toggles focus between views in split view.
Returns
Nothing.
site.setSelection()
Availability
Dreamweaver 3.
Description
Selects files or folders in the active pane in the Files panel.
Arguments
arrayOfURLs
•
The arrayOfURLs argument is an array of strings where each string is a path to a file or folder in the current site,
which is expressed as a file:// URL.
Note: Omit the trailing slash (/) when specifying folder paths.
Returns
Nothing.
site.siteRelativeToLocalPath()
Availability
Dreamweaver 8.
Description
Converts a site-relative URI reference to a local file path.
Arguments
siteRelativeURI
•
The
siteRelativeURI
attribute, which is required, is a string that contains the site-relative URI.
Returns
A string, which specifies the path to a local file on your local computer.