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
Summary of Contents for DREAMWEAVER 8-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 16: ......
Page 28: ...28 The File I O API...
Page 38: ...38 The HTTP API...
Page 68: ...68 Flash Integration...
Page 100: ...100 The Database API...
Page 116: ...116 The JavaBeans API...
Page 144: ...144 The Source Control Integration API...
Page 146: ......
Page 254: ...254 Workspace...
Page 298: ...298 Site...
Page 354: ...354 Document...
Page 396: ...396 Page Content...
Page 488: ...488 Design...
Page 550: ...550 Code...