User Guide

312 Chapter 15: Page Content
Example
If the Behaviors panel is set up as shown in the following figure, calling the
dreamweaver.behaviorInspector.setSelection(2) function selects the Change Property
action that is associated with the
onMouseDown event:
Clipboard functions
Clipboard functions are related to cutting, copying, and pasting. On the Macintosh, some
Clipboard functions can also apply to text fields in dialog boxes and floating panels. Functions
that can operate in text fields are implemented as methods of the
dreamweaver object and as
methods of the DOM object. The
dreamweaver version of the function operates on the selection
in the active window: the current Document window, the Code inspector, or the Site panel. On
the Macintosh, the function can also operate on the selection in a text box if it is the current field.
The DOM version of the function always operates on the selection in the specified document.
dom.clipCopy()
Availability
Dreamweaver 3.
Description
Copies the selection, including any HTML markup that defines the selection, to the Clipboard.
Arguments
None.
Returns
Nothing.
000_DW_API_Print.book Page 312 Wednesday, August 20, 2003 9:14 AM