User Guide

Results window functions 187
Arguments
strFilePath, strIcon, strDisplay, strDesc, {iLineNo}, {iStartSel},
{iEndSel}
The strFilePath argument is a fully qualified URL path of the file to process.
The strIcon argument 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 for the icon (use "0" for no
icon). The following table shows the icons that correspond to the values of "1" through
"10":
The strDisplay argument is the string to display to the user in first column of the
Results window (usually, the filename).
The strDesc argument is the description that goes with the entry.
The iLineNo argument is the number of lines in the file (optional).
The iStartSel argument is the start of offset into the file (optional, but if it is used, the
iEndSel argument must also be used.).
The iEndSel argument is the end of offset into the file (required if iStartSel is used).
Returns
Nothing.
resWin.getItem()
Availability
Dreamweaver 4.
Description
Retrieves an array of items that include the name of the command that added the item and
the same strings that were passed to the
addItem() function.
Arguments
itemIndex
The itemIndex argument is the index of the item whose data is to be retrieved.
000_DW_API_Print.book Page 187 Wednesday, July 20, 2005 11:58 AM