Specifications

The Dreamweaver JavaScript API 437
Returns
A Boolean value that indicates whether any files are visible in the selected pane of the Site panel.
site.canOpen()
Availability
Dreamweaver 3
Description
Checks whether Dreamweaver can open the files or folders that are currently selected in the Site
panel.
Arguments
None.
Returns
A Boolean value that indicates whether any files or folders are selected in the Site panel.
site.canPut()
Availability
Dreamweaver 3
Description
Determines whether Dreamweaver can perform a Put operation.
Arguments
siteOrURL
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
If the argument is site, a Boolean value that indicates whether any files or folders are selected in
the Site panel and a remote site has been defined. If the argument is a URL, a Boolean value that
indicates whether the document belongs to a site for which a remote site has been defined.
site.canRecreateCache()
Availability
Dreamweaver 3
Description
Checks whether Dreamweaver can perform a Recreate Site Cache operation.
Arguments
None.
Returns
A Boolean value that indicates whether the Use Cache To Speed Link Updates option is enabled
for the current site.