Specifications

558
Site functions
Site functions handle operations that are related to files in the site files or site map. These
functions let you perform the following tasks:
Create links between files
Get, put, check in, and check out files
Select and deselect files
Create and remove files
Get information about the sites that the user has defined
Import and export site information
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.
site.addLinkToExistingFile()
Availability
Dreamweaver 3
Description
Opens the Select HTML File dialog box to let the user select a file and creates a link from the
selected document to that file