User Guide

364 Page Content
Description
This function removes the selected library item from the Library panel and deletes its
associated Dreamweaver LBI file from the Library folder at the root of the current site.
Instances of the deleted item might still exist in pages throughout the site.
Arguments
None.
Returns
Nothing.
dreamweaver.libraryPalette.getSelectedItem()
(deprecated)
Availability
Dreamweaver 3; deprecated in 4 in favor of dreamweaver.assetPalette.getSelectedItems().
Description
This function gets the path of the selected library item.
Arguments
None.
Returns
A string that contains the path of the library item, which is expressed as a file:// URL.
dreamweaver.libraryPalette.newFromDocument()
(deprecated)
Availability
Dreamweaver 3; deprecated in Dreamweaver 4 in favor of using
dreamweaver.assetPalette.setSelectedCategory(), and then calling
dreamweaver.assetPalette.newAsset()
.
Description
This function creates a new library item based on the selection in the current document.
000_DW_API_Print.book Page 364 Wednesday, July 20, 2005 11:58 AM