Specifications
657
Arguments
None.
Returns
A string that contains the path of the library item, which is expressed as a file:// URL.
dreamweaver.libraryPalette.newFromDocument()
Availability
Dreamweaver 3, deprecated in Dreamweaver 4 in favor of using
dreamweaver.assetPalette.setSelectedCategory(), then calling
dreamweaver.assetPalette.newAsset().
Description
Creates a new library item based on the selection in the current document.
Arguments
bReplaceCurrent
bReplaceCurrent
is a Boolean value that indicates whether to replace the selection with an
instance of the newly created library item.
Returns
Nothing.
dreamweaver.libraryPalette.recreateFromDocument()
Availability
Dreamweaver 3, deprecated in Dreamweaver 4 in favor of
dreamweaver.assetPalette.recreateLibraryFromDocument().
Description
Creates an LBI file for the selected instance of a library item in the current document. This
function is equivalent to clicking Recreate in the Property inspector.
Arguments
None.
Returns
Nothing.
dreamweaver.libraryPalette.renameSelectedItem()
Availability
Dreamweaver 3, deprecated in Dreamweaver 4 in favor of using
dreamweaver.assetPalette.setSelectedCategory() with the “library” argument, then
calling
dreamweaver.assetPalette.renameNickname().
Description
Turns the name of the selected library item into an text field, so the user can rename the selection.
Arguments
None.