User Guide
Clipboard functions 379
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.
dom.clipCopyText()
Availability
Dreamweaver 3.
Description
Copies the selected text to the Clipboard, ignoring any HTML markup.
Arguments
None.
Returns
Nothing.
000_DW_API_Print.book Page 379 Wednesday, July 20, 2005 11:58 AM