Specifications

Chapter 31436
site.canLocateInSite()
Availability
Dreamweaver 3
Description
Determines whether Dreamweaver can perform a Locate in Local Site or Locate in Remote Site
operation (depending on the argument).
Arguments
localOrRemote, siteOrURL
localOrRemote must be either local or remote.
siteOrURL must be the site keyword, which indicates that the function should act on the
selection in the Site panel or the URL for a single file.
Returns
One of the following values:
If the first argument is local and the second argument is a URL, a Boolean value that
indicates whether the document belongs to a site.
If the first argument is remote and the second argument is a URL, a Boolean value that
indicates whether the document belongs to a site for which a remote site has been defined, and,
if the server type is Local/Network, whether the drive is mounted.
If the second argument is site, a Boolean value that indicates whether both panes contain site
files (not the site map) and whether the selection is in the opposite pane from the argument.
site.canMakeEditable()
Availability
Dreamweaver 3
Description
Checks whether Dreamweaver can perform a Turn Off Read Only operation.
Arguments
None.
Returns
A Boolean value that indicates whether one or more of the selected files is locked.
site.canMakeNewFileOrFolder()
Availability
Dreamweaver 3
Description
Checks whether Dreamweaver can perform a New File or New Folder operation in the Site panel.
Arguments
None.