Related files functions, Dreamweaver.getrelatedfiles(), Dreamweaver.openrelatedfile() – Adobe Dreamweaver API Reference CS5 User Manual
Page 194: Dreamweaver.getactiverelatedfilepath()

189
DREAMWEAVER API REFERENCE
Workspace
Last updated 8/27/2013
Related files functions
The related files functions enhance the editing experience of coders by providing easy access to supporting and related
files that are used actively.
dreamweaver.getRelatedFiles()
Availability
Dreamweaver CS4.
Description
This function gets a list of all the related files. The related files can be child documents, source HTML files, and
generated source files.
Arguments
A Boolean value that specifies the display names of the parent document and generated source files.
•
Use the value
true
if you want to display Source HTML and Generated Source in the menu.
•
Use the value
false
if you want to display the actual names of the related files in the menu.
Returns
An array of strings, which contains all the scanned related files in the form of absolute local URLs.
dreamweaver.openRelatedFile()
Availability
Dreamweaver CS4.
Description
Displays the selected related file in the Code view of the current document.
Arguments
A string that is the absolute local URL of the file.
Returns
None.
dreamweaver.getActiveRelatedFilePath()
Availability
Dreamweaver CS4.
Description
This function gets the full path of the currently opened related file.