460
Chapter 19: Enablers
site.canOpen()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can open the files or folders that are currently selected in the Site
panel.
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.
000_DW_API_Print.book Page 460 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...