Assets panel functions
367
dreamweaver.templatePalette.deleteSelected
Template() (deprecated)
Availability
Dreamweaver 3; deprecated in Dreamweaver 4 in favor of using
dreamweaver.assetPalette.setSelectedCategory()
with
"templates"
as the argument value,
and then calling
dreamweaver.assetPalette.removeFromFavorites()
.
Description
This function deletes the selected template from the Templates folder.
Arguments
None.
Returns
Nothing.
dreamweaver.templatePalette.getSelected
Template() (deprecated)
Availability
Dreamweaver 3; deprecated in 4 in favor of
dreamweaver.assetPalette.getSelectedItems()
.
Description
This function gets the path of the selected template.
Arguments
None.
Returns
A string that contains the path of the template, which is expressed as a file:// URL.
000_DW_API_Print.book Page 367 Wednesday, July 20, 2005 11:58 AM
Summary of Contents for DREAMWEAVER 8-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 16: ......
Page 28: ...28 The File I O API...
Page 38: ...38 The HTTP API...
Page 68: ...68 Flash Integration...
Page 100: ...100 The Database API...
Page 116: ...116 The JavaBeans API...
Page 144: ...144 The Source Control Integration API...
Page 146: ......
Page 254: ...254 Workspace...
Page 298: ...298 Site...
Page 354: ...354 Document...
Page 396: ...396 Page Content...
Page 488: ...488 Design...
Page 550: ...550 Code...