User Guide
Site functions 225
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.
Arguments
None.
Returns
Nothing.
site.deployFilesToTestingServerBin()
Availability
Dreamweaver MX.
Description
Puts a specified file (or files) in the testing server’s bin folder. If the current site does not have any
settings defined for deploying supporting files, this function invokes the Deploy Supporting Files
To Tes tin g Se r ve r dia log box .
Arguments
filesToDeploy
• The filesToDeploy argument is an array of filenames that Dreamweaver will deploy.
Returns
A Boolean value: true if the files deploy successfully; false otherwise.
Example
This example deploys the files image1.jpg and script1.js to the testing server’s bin folder:
site.deployFilesToTestingServerBin("image1.jpg", "script1.js");
000_DW_API_Print.book Page 225 Wednesday, August 20, 2003 9:14 AM