Specifications

The Dreamweaver JavaScript API 375
Note: If nothing is selected in the Assets panel, this function returns an array of one empty string.
Example
If URLs is the category, and a folder MyFolderName and a URL MyFavoriteURL are both
selected in the Favorites list, the function returns the following list:
items[0] = "MyFolderName"
items[1] = "//path/FolderName"
items[2] = "folder"
items[3] = "MyFavoriteURL"
items[4] = "http://www.MyFavoriteURL.com"
items[5] = "urls"
dreamweaver.assetPalette.getSelectedView()
Availability
Dreamweaver 4
Description
Indicates which list is currently shown in the Assets panel.
Arguments
None.
Returns
Returns either "site" or "favorites".
dreamweaver.assetPalette.insertOrApply()
Availability
Dreamweaver 4
Description
Inserts selected elements or applies the element to the current selection. Applies templates, colors
to selection, and URLs to selection; it also inserts URLs and other elements at the insertion point.
If a document isnt open, the function is not available.
Arguments
None.
Returns
Nothing.
Enabler
“dreamweaver.assetPalette.canInsertOrApply()” on page 418