Specifications

494
Example
The following code saves the fourth, sixth, and eighth steps in the History panel as a command:
dreamweaver.historyPalette.saveAsCommand([3,5,7]);
dreamweaver.historyPalette.setSelectedSteps()
Availability
Dreamweaver 3
Description
Selects the specified steps in the History panel.
Arguments
arrayOfIndices
arrayOfIndices
is an array of position indices in the History panel. If no argument is supplied,
all the steps are deselected.
Returns
None.
Example
The following code selects the first, second, and third steps in the History panel:
dreamweaver.historyPalette.setSelectedSteps([0,1,2]);
dreamweaver.historyPalette.setUndoState()
Availability
Dreamweaver 3
Description
Performs the correct number of undo or redo operations to arrive at the specified undo state.
Arguments
undoState
undoState
is the object returned by dreamweaver.historyPalette.getUndoState().
Returns
Nothing.