beautypg.com

Dreamweaver.cansaveallrelatedfiles(), Document.isrelatedfileviewopen(), Document.getrelatedfiles() – Adobe Dreamweaver API Reference CS5 User Manual

Page 198

background image

193

DREAMWEAVER API REFERENCE

Workspace

Last updated 8/27/2013

Arguments
None.

Returns
None.

dreamweaver.canSaveAllRelatedFiles()

Availability
Dreamweaver CS5.

Description
This function is used to determine if any related file for the current document is modified and can be saved.

Arguments
None.

Returns
A Boolean:

true

if any related file has been modified and can be saved.

document.isRelatedFileViewOpen()

Availability
Dreamweaver CS5.

Description
This function is used to determine if the code view window is currently showing the source code of the document.

Arguments
None.

Returns
A Boolean:

true

if the code view window is displaying the source code for the document.

False

will be returned if a

related file live code is open in the code view window.

document.getRelatedFiles()

Availability
Dreamweaver CS5.

Description
This function is used to retrieve the list of the files related to the document.

Arguments
filtered