User Guide

Assets panel functions 295
dreamweaver.assetPalette.edit()
Availability
Dreamweaver 4.
Description
Edits selected elements with primary external editor or Custom Edit control. For colors, the color
picker appears. For URLs, a dialog box appears and prompts the user for a URL and a nickname.
This function is not available for the Site list of colors and URLs.
Arguments
None.
Returns
Nothing.
Enabler
dreamweaver.assetPalette.canEdit()” on page 442.
dreamweaver.assetPalette.getSelectedCategory()
Availability
Dreamweaver 4.
Description
Returns the currently selected category.
Arguments
None.
Returns
The currently selected category, which can be one of the following: "templates", "library",
"images", "movies", "shockwave", "flash", "scripts", "colors", or "urls".
dreamweaver.assetPalette.getSelectedItems()
Availability
Dreamweaver 4.
Description
Returns an array of the selected items in the Assets panel, either in the Site or Favorites list.
Arguments
None.
000_DW_API_Print.book Page 295 Wednesday, August 20, 2003 9:14 AM