Specifications
487
dreamweaver.setPreferenceString()
Availability
Dreamweaver MX
Description
Allows you to write a string preference setting for an extension, to be stored with Dreamweaver 
preferences when Dreamweaver is not running.
Arguments
section, key, new_value
• section a string that specifies the preferences section that contains the entry. If the section 
does not exist, Dreamweaver creates it.
• key a string that specifies the entry into which the value is to be written. If the entry does not 
exist, Dreamweaver creates it.
• new_value a string that contains the preference value that is to be saved.
Returns
true if successful; false otherwise.
Example
var txtEditor = getExternalTextEditor();
dreamweaver.setPreferenceString("My Extension", "Text Editor", txtEditor);
History functions
History functions handle undoing, redoing, recording, and playing steps that appear in the 
History panel. A step is any repeatable change to the document or to a selection in the document. 
Methods of the 
dreamweaver.historyPalette object either control or act on the selection in 
the History panel, not in the current document.
dom.redo()
Availability
Dreamweaver 3
Description
Redoes the step that was most recently undone in the document.
Arguments
None.
Returns
Nothing.
Enabler
“dom.canRedo()” on page 415










