Specifications
Reports 105
Returns
Dreamweaver expects nothing.
beginReporting()
Description
Called at the start of the reporting process, before any reports are run. If the Report command 
returns 
false from this function, the Report command is excluded from the report run. 
Arguments
target
target
 is a string that indicates the target of the report session. It can be one of the following 
values: 
"CurrentDoc", "CurrentSite", "CurrentSiteSelection" (for the selected files in a 
site), or "Folder:+ the path to the folder the user selected" (for example, 
"Folder:c:temp").
Returns
Dreamweaver expects true if the report runs successfully; false if target is excluded from the 
report run. 
endReporting()
Description
Called at the end of the Report process.
Arguments
None.
Returns
Dreamweaver expects nothing.
commandButtons()
Description
Defines the buttons that should appear on the right side of the Options dialog box and their 
behavior when they are clicked. If this function is not defined, no buttons appear, and the 
BODY of 
the report file expands to fill the entire dialog box.
Arguments
None.
Returns
Dreamweaver expects an array that contains an even number of elements. The first element is a 
string that contains the label for the topmost button. The second element is a string of JavaScript 
code that defines the behavior of the topmost button when it is clicked. Remaining elements 
define additional buttons in the same manner.










