
525
DREAMWEAVER API REFERENCE
Enablers
Last updated 8/27/2013
Arguments
None.
Returns
A Boolean value: true if any files or folders are selected in the Site panel; false otherwise.
site.canPut()
Availability
Dreamweaver 3.
Description
Determines whether Dreamweaver can perform a Put operation.
Arguments
siteOrURL
• The siteOrURL argument 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 argument is the keyword site, returns the value true if any files or folders are selected in the Site panel and
a remote site has been defined; otherwise
false.
• If the argument is a URL, returns the value true if the document belongs to a site for which a remote site has been
defined; otherwise
false.
site.canRecreateCache()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform a Recreate Site Cache operation.
Arguments
None.
Returns
A Boolean value: true if the Use Cache To Speed Link Updates option is enabled for the current site.
site.canRefresh()
Availability
Dreamweaver 3.
Comentarios a estos manuales