site.compareFiles()
Availability
Dreamweaver 8.
Description
This function launches the Diff tool integration application to compare two files.
Arguments
url
The
argument, which is required, must contain one of the following two values:
url
• The keyword
, which indicates that
"site"
• The URL of a local file to compare with its remote version.
Returns
A Boolean value:
if the compare succeeded;
true
Enabler
See "site.canCompareFiles()" on page 463.
Example
The following example compares the files selected in the Site panel with their remote versions:
site.compareFiles("site");
site.defineSites()
Availability
Dreamweaver 3.
Description
This function opens the Edit Sites dialog box.
Arguments
None.
Returns
Nothing.
site.deleteSelection()
Availability
Dreamweaver 3.
Description
Deletes the selected files.
should act on the selection in the Site panel.
compare()
otherwise.
false
DREAMWEAVER CS3
203
API Reference