User Guide

Site functions 267
site.cloak()
Availability
Dreamweaver MX.
Description
Cloaks the current selection in the Site panel or the specified folder.
Arguments
siteOrURL
The siteOrURL argument must contain one of the following two values:
The keyword "site", which indicates that cloak() should act on the selection in the Site
panel
The URL of a particular folder, which indicates that cloak() should act on the specified
folder and all its contents
Returns
Nothing.
Enabler
See site.canCloak()” on page 588.
site.compareFiles()
Availability
Dreamweaver 8.
Description
This function launches the Diff tool integration application to compare two files.
Arguments
url
The url argument, which is required, must contain one of the following two values:
The keyword "site", which indicates that compare() should act on the selection in the
Site panel.
The URL of a local file to compare with its remote version.
Returns
A Boolean value: true if the compare succeeded; false otherwise.
000_DW_API_Print.book Page 267 Wednesday, July 20, 2005 11:58 AM