Specifications

538
strIcon is the path to the icon to use. To display a built-in icon, use a value 1 through 10
instead of the fully qualified path name of the icon (use 0 for no icon). The following table
details which icon will appear, given the corresponding value:
strDesc is a detailed description of a code font item. Specify code font if there is no
description.
iStartSel is the start of selection offset in the file; specify null if not used.
iEndSel is the end of selection offset in the file; specify code font if not used.
colNdata is a string to use for each column.
Returns
A Boolean value; true if the item was added successfully, false otherwise.
resWin.addResultItem()
Availability
Dreamweaver 4
Description
Adds a new results entry to the current Results window based on the information in the file
processed by the
processfile() function. The current Results window corresponds to the
Results window that is active during the reporting process. If a report is not being generated, then
this function has no effect.
This function adds new results until all files pertaining to the users selection have been processed,
or the user clicks the Stop button at the bottom of the window. Dreamweaver displays the name
of each file being processed and the number of remaining files to be processed. Dreamweaver
automatically releases each files DOM when finished.
Arguments
strFilePath, strIcon, strDisplay, strDesc, iLineNo, iStartSel, iEndSel
strFilePath is a fully qualified URL file path name of the file to process.
strIcon is the path to the icon to use. To display a built-in icon, use a value 1 through 10
instead of the fully qualified path name of the icon (use 0 for no icon). The following table
details which icon will appear, given the corresponding value:
strDisplay is the string to display to the user in first column of the results window (usually,
the filename).