beautypg.com

Command functions, Dreamweaver.editcommandlist(), Dreamweaver.runcommand() – Adobe Dreamweaver API Reference CS5 User Manual

Page 253

background image

248

DREAMWEAVER API REFERENCE

Document

Last updated 8/27/2013

Description
Opens the Convert Tables to Layers dialog box.

Arguments
None.

Returns
Nothing.

Enabler
See “

dom.canConvertTablesToLayers()

” on page 494.

Command functions

Command functions help you make the most of the files in the Configuration/Commands folder. They manage the
Command menu and call commands from other types of extension files.

dreamweaver.editCommandList()

Availability
Dreamweaver 3.

Description
Opens the Edit Command List dialog box.

Arguments
None.

Returns
Nothing.

dreamweaver.runCommand()

Availability
Dreamweaver 3.

Description
Executes the specified command; it works the same as selecting the command from a menu. If a dialog box is associated
with the command, it appears and the command script blocks other edits until the user closes the dialog box. This
function provides the ability to call a command from another extension file.

Note: This function can be called within the

objectTag()

function, from any script in a command file, or from the

Property inspector file.