User Guide

History panel functions 281
Returns
The string to use with fw.historyPalette.setUndoState().
Description
Returns a string that indicates the current undo state to be used for later calls to
fw.historyPalette.setUndoState(). This string is designed to be used internally by
Fireworks only and might change format in the future. Do not try to parse this string or construct
a custom string to pass to
fw.historyPalette.setUndoState().
See also
fw.historyPalette.setUndoState()
fw.historyPalette.replaySteps()
Availability
Fireworks 3.
Usage
fw.historyPalette.replaySteps(array of indexes)
Arguments
array of indexes
A zero-based array that specifies which steps from the History panel should
be returned as JavaScript and executed. If the argument is
null, the currently selected steps
are used.
Returns
A JavaScript string.
Description
Gets the JavaScript equivalent of the specified steps and executes them.
See also
fw.historyPalette.getStepsAsJavaScript()
fw.historyPalette.saveAsCommand()
Availability
Fireworks 3.
Usage
fw.historyPalette.saveAsCommand(array of indexes, {filename})