beautypg.com

Dreamweaver.assetpalette.refreshsiteassets(), Dreamweaver.assetpalette.removefromfavorites() – Adobe Dreamweaver API Reference CS5 User Manual

Page 314

background image

309

DREAMWEAVER API REFERENCE

Page content

Last updated 8/27/2013

Returns
Nothing.

dreamweaver.assetPalette.recreateLibraryFrom Document()

Availability
Dreamweaver 4.

Description
Replaces the deprecated

libraryPalette

function,

recreateLibraryFromDocument()

. It creates a Library item

(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.assetPalette.refreshSiteAssets()

Availability
Dreamweaver 4.

Description
Scans the site, switches to the Site list, and populates the list.

Arguments
None.

Returns
Nothing.

dreamweaver.assetPalette.removeFromFavorites()

Availability
Dreamweaver 4.

Description
Removes the selected elements from the Favorites list. This function does not delete the actual file on disk, except in
the case of a library or template where the user is prompted before the file is deleted. It works only in the Favorites list
or if the category is Library or Templates.

Arguments
None.