User Guide
History functions 163
dreamweaver.getUndoText()
Availability
Dreamweaver 3.
Description
Gets the text that is associated with the editing operation that will be undone if the user
selects Edit > Undo or presses Control+Z (Windows) or Command+Z (Macintosh).
Arguments
None.
Returns
A string that contains the text that is associated with the editing operation that will be
undone.
Example
If the user’s last action applied a cascading style sheet (CSS) style to a selected range of text, a
call to the
dreamweaver.getUndoText() function returns "Undo Apply <span>".
dreamweaver.playRecordedCommand()
Availability
Dreamweaver 3.
Description
Plays the recorded command in the active document.
Arguments
None.
Returns
Nothing.
Enabler
See “dreamweaver.canPlayRecordedCommand()” on page 569.
000_DW_API_Print.book Page 163 Wednesday, July 20, 2005 11:58 AM