Dreamweaver.refreshrelatedfiles(), Dreamweaver.saveallrelatedfiles() – Adobe Dreamweaver API Reference CS5 User Manual
Page 197

192
DREAMWEAVER API REFERENCE
Workspace
Last updated 8/27/2013
dreamweaver.setDynamicRelatedFilesDiscoverySetting()
Availability
Dreamweaver CS5.
Description
This function is used to set the discovery option for dynamically-related files.
Arguments
A String object specifying the discovery mechanism, which is one of the following values:
Returns
None.
dreamweaver.refreshRelatedFiles()
Availability
Dreamweaver CS5.
Description
This function is used to refresh the related files shown in the Related Files bar for the current document.
Arguments
None.
Returns
None.
dreamweaver.saveAllRelatedFiles()
Availability
Dreamweaver CS5.
Description
This function is used to save all the modified related files for the current document. Invoking the function will save the
current document and all the modified related files of the current document. If the document is a new document, then
a Save As dialog box is shown.
Value
Description
automatic
Enables automatic discovery of related files.
manual
Enables manual discovery of related files. In this case, the user has to manually resolve the references to the
related files.
disabled
Disables automatic discovery of related files.