beautypg.com

Dreamweaver.loadsitesfromprefs(), Dreamweaver.savesitestoprefs(), Dreamweaver.sitesyncdialog.compare() – Adobe Dreamweaver API Reference CS5 User Manual

Page 223

background image

218

DREAMWEAVER API REFERENCE

Site

Last updated 8/27/2013

Returns
Nothing.

Example
The following example compares two files, red.htm and blue.htm:

dw.compareFiles(hc:\data\red.htm", "e:\data\blue.htm");

dreamweaver.loadSitesFromPrefs()

Availability
Dreamweaver 4.

Description
Loads the site information for all the sites from the system registry (Windows) or the Dreamweaver Preferences file
(Macintosh) into Dreamweaver. If a site is connected to a remote server when this function is called, the site is
automatically disconnected.

Arguments
None.

Returns
Nothing.

dreamweaver.saveSitesToPrefs()

Availability
Dreamweaver 4.

Description
Saves all information for each site that the user has defined to the system registry (Windows) or the Dreamweaver
Preferences file (Macintosh).

Arguments
None.

Returns
Nothing.

dreamweaver.siteSyncDialog.compare()

Availability
Dreamweaver 8.