beautypg.com

Dreamweaver.assetpalette.copytosite(), Dreamweaver.assetpalette.edit() – Adobe Dreamweaver API Reference CS5 User Manual

Page 310

background image

305

DREAMWEAVER API REFERENCE

Page content

Last updated 8/27/2013

Description
Adds elements that are selected in the Site list to the Favorites list and gives each item a nickname in the Favorites list.
This function does not remove the element from the Site list.

Arguments
None.

Returns
Nothing.

dreamweaver.assetPalette.addToFavoritesFromSiteWindow()

Availability
Dreamweaver 4.

Description
Adds the elements that are selected in the Site panel to the Favorites list. This function handles only images, movies,
scripts, Shockwave files, and FLA files. If other folders or files are selected, they are ignored.

Arguments
None.

Returns
Nothing.

dreamweaver.assetPalette.copyToSite()

Availability
Dreamweaver 4.

Description
Copies selected elements to another site and puts them in that site’s Favorites list. If the elements are files (other than
colors or URLs), the actual file is copied into that site.

Arguments
targetSite

The targetSite argument is the name of the target site, which the

site.getSites()

call returns.

Returns
Nothing.

dreamweaver.assetPalette.edit()

Availability
Dreamweaver 4.