Specifications

493
dreamweaver.historyPalette.getUndoState()
Availability
Dreamweaver 3
Description
Gets the current undo state.
Arguments
None.
Returns
The position of the Undo marker in the History panel.
dreamweaver.historyPalette.replaySteps()
Availability
Dreamweaver 3
Description
Replays the specified history steps in the active document. Dreamweaver warns the user of
possible unintended consequences if the specified steps include an unrepeatable action.
Arguments
arrayOfIndices
arrayOfIndices
is an array of position indices in the History panel.
Returns
A string that contains the JavaScript that corresponds to the specified history steps.
Example
A call to dreamweaver.historyPalette.replaySteps([0,2,3]) plays the first, third, and
fourth steps in the History panel.
dreamweaver.historyPalette.saveAsCommand()
Availability
Dreamweaver 3
Description
Opens the Save As Command dialog box, which lets the user save the specified steps as a
command. Dreamweaver warns the user of possible unintended consequences if the steps include
an unrepeatable action.
Arguments
arrayOfIndices
arrayOfIndices
is an array of position indexes in the History panel.
Returns
A string that contains the JavaScript that corresponds to the specified history steps.