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 Testing Server dialog 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
Summary of Contents for DREAMWEAVER MX 2004-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 24: ...24 Contents...
Page 32: ......
Page 70: ...70 Chapter 5 Fireworks Integration...
Page 76: ...76 Chapter 6 Flash Integration...
Page 116: ...116 Chapter 9 The JavaBeans API...
Page 140: ......
Page 152: ...152 Chapter 11 Application...
Page 218: ...218 Chapter 12 Workspace...
Page 248: ...248 Chapter 13 Site...
Page 292: ...292 Chapter 14 Document...
Page 378: ...378 Chapter 17 Design...
Page 430: ...430 Chapter 18 Code...
Page 486: ...486 Index...