User Guide
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