beautypg.com

Reswin.setfilelist(), Reswin.setselecteditem(), Reswin.settitle() – Adobe Dreamweaver API Reference CS5 User Manual

Page 155

background image

150

DREAMWEAVER API REFERENCE

Workspace

Last updated 8/27/2013

resWin.setFileList()

Availability
Dreamweaver 4.

Description
Gives the Results window a list of files, folders, or both to call a set of commands to process.

Arguments
arrFilePaths, bRecursive

The arrFilePaths argument is an array of file or folder paths to iterate through.

The bRecursive argument is a Boolean value that indicates whether the iteration should be recursive (

true

) or not

(

false

).

Returns
Nothing.

resWin.setSelectedItem()

Availability
Dreamweaver 4.

Description
Sets the selected item to the one specified by itemIndex.

Arguments
itemIndex

The index of the item in the list to select.

Returns
The index of the previously selected item

resWin.setTitle()

Availability
Dreamweaver 4.

Description
Sets the title of the window.

Arguments
strTitle

The strTitle argument is the new name of the floating panel.