Specifications

Chapter 31374
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.
Not available for the Site list of colors and URLs.
Arguments
None.
Returns
Nothing.
Enabler
“dreamweaver.assetPalette.canEdit()” on page 418
dreamweaver.assetPalette.getSelectedCategory()
Availability
Dreamweaver 4
Description
Returns the currently selected category, which can be one of the following categories:
"templates", "library", "images", "movies", "shockwave", "flash", "scripts",
"colors", or "urls".
Arguments
None.
Returns
The currently selected category.
dreamweaver.assetPalette.getSelectedItems()
Availability
Dreamweaver 4
Description
Returns an array of the selected items in the Assets panel, either in the Site list or Favorites list.
Arguments
None.
Returns
An array of the following three strings for each selected item:
name is the name/filename or nickname, as seen in the panel.
value is the full file path, full URL, or color value, depending on the selected item.
type is either "folder" or one of the following categories: "templates", "library",
"images", "movies", "shockwave", "flash", "scripts", "colors", or "urls".