Dreamweaver.getappbarcolor() – Adobe Dreamweaver API Reference CS5 User Manual

Page 219

Advertising
background image

214

DREAMWEAVER API REFERENCE

Workspace

Last updated 8/27/2013

Example

var panelColorArray = dw.getPanelColor();

The return values for this example are:

•

panelColorArray[0]

: Red

•

panelColorArray[1]

: Green

•

panelColorArray[2]

: Blue

•

panelColorArray[3]

: Alpha

dreamweaver.getAppBarColor()

Availability
Dreamweaver CS4.

Description
This function retrieves the application bar colors of the user interface. You can use these colors as bar colors for the
extensions. This function helps you to ensure that the bar colors of extensions blend with the bar color of the
application user interface.

Arguments
None.

Returns
An array of strings of size 4 with the following values:

•

Red

•

Green

•

Blue

•

Alpha

Example

var appBarColorArray = dw.getAppBarColor();

The return values for this example are:

•

appBarColorArray[0]

: Red

•

appBarColorArray[1]

: Green

•

appBarColorArray[2]

: Blue

•

appBarColorArray[3]

: Alpha

Advertising