beautypg.com

Clipboard functions, Dom.clipcopy() – Adobe Dreamweaver API Reference CS5 User Manual

Page 325

background image

320

DREAMWEAVER API REFERENCE

Page content

Last updated 8/27/2013

Example
Calling the

dreamweaver.behaviorInspector.setSelection(2)

function selects the Change Property action that

is associated with the

onMouseDown

event:

More Help topics

dreamweaver.behaviorInspector.getSelectedBehavior()

” on page 316

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.