User Guide
358 Page Content
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.
Returns
An array of the following three strings for each selected item:
■ The name string, which is the name/filename or nickname that appears in the Assets
panel.
■ The value string, which is the full path, full URL, or color value, depending on the
selected item.
■ The type string, which is either "folder" or one of the following categories:
"templates", "library", "images", "movies", "shockwave", "flash", "scripts",
"colors", or "urls".
NOTE
If nothing is selected in the Assets panel, this function returns an array that contains one
empty string.
000_DW_API_Print.book Page 358 Wednesday, July 20, 2005 11:58 AM