User Guide

Global application functions 159
Returns
Nothing.
Example
dw.showPasteSpecialDialog();
dreamweaver.showPreferencesDialog()
Availability
Dreamweaver 3. Added the strCategory argument in Dreamweaver 8.
Description
This function opens the Preferences dialog box.
Arguments
{strCategory}
The strCategory argument, which is optional, must be one of the following strings to
open the correlating category of the Preferences dialog box:
"general",
"accessibility", "html colors" (for the Code Coloring category), "html format"
(for the Code Format category),
"code hints", "html rewriting" (for the Code
Rewriting category),
“copyPaste”, "css styles", "file compare", "external
editors"
(for the File Types/Editors category), "fonts", "highlighting",
"invisible elements", "layers", "layout mode", "new document", "floaters"
(for the Panels category), "browsers" (for the Preview in Browser category), "site ftp"
(for the Site category),
"status bar", and "validator". If Dreamweaver does not
recognize the argument as a valid pane name, or if the argument is omitted, the dialog box
opens to the last active pane.
Returns
Nothing.
Example
The following example opens the Preferences dialog box and selects the Code Coloring
category:
dw.showPreferencesDialog(“html colors”);
000_DW_API_Print.book Page 159 Wednesday, July 20, 2005 11:58 AM