384
Page Content
Example
The following example pasts the contents of the Clipboard as text:
dw.clipPaste("text");
dreamweaver.getClipboardText()
Availability
Dreamweaver 3.
Description
Gets all the text that is stored on the Clipboard.
Arguments
{bAsText}
■
The
bAsText
Boolean value, which is optional, specifies whether the Clipboard content is
retrieved as text. If
bAsText
is a value of
true
, the Clipboard content is retrieved as text. If
bAsText
is a value of
false
, the content retains formatting. This argument defaults to
false
.
Returns
A string that contains the contents of the Clipboard, if the Clipboard contains text (which can
be HTML); otherwise, it returns nothing.
Example
If
dreamweaver.getClipboardText()
returns
"text <b>bold</b> text"
,
dreamweaver.getClipboardText(true)
returns
"text bold text"
.
Library and template functions
Library and template functions handle operations that are related to library items and
templates, such as creating, updating, and breaking links between a document and a template
or library item. Methods of the
dreamweaver.libraryPalette
object either control or act
on the selection in the Assets panel library items, not in the current document. Likewise,
methods of the
dreamweaver.templatePalette
object control or act on the selection in the
Assets panel template objects.
000_DW_API_Print.book Page 384 Wednesday, July 20, 2005 11:58 AM
Summary of Contents for DREAMWEAVER 8-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 16: ......
Page 28: ...28 The File I O API...
Page 38: ...38 The HTTP API...
Page 68: ...68 Flash Integration...
Page 100: ...100 The Database API...
Page 116: ...116 The JavaBeans API...
Page 144: ...144 The Source Control Integration API...
Page 146: ......
Page 254: ...254 Workspace...
Page 298: ...298 Site...
Page 354: ...354 Document...
Page 396: ...396 Page Content...
Page 488: ...488 Design...
Page 550: ...550 Code...