Adobe 38040334 - Dreamweaver CS3 User Manual page 131

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

• The
argument is an array of position indices in the History panel.
arrayOfIndices
Returns
A string that contains the JavaScript that corresponds to the specified history steps.
Example
A call to
dreamweaver.historyPalette.replaySteps([0,2,3])
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
• The
argument is an array of position indexes in the History panel.
arrayOfIndices
Returns
A string that contains the JavaScript that corresponds to the specified history steps.
Example
The following example 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
• The
function is an array of position indices in the History panel. If no argument is supplied, all
arrayOfIndices
the steps are unselected.
Returns
Nothing.
Example
The following example selects the first, second, and third steps in the History panel:
function plays the first, third, and fourth steps
DREAMWEAVER CS3
126
API Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents