Returns
Nothing.
Enabler
See "dreamweaver.canClipCut()" on page 446.
dreamweaver.clipPaste()
Availability
Dreamweaver 3. Added the
Description
Pastes the contents of the Clipboard into the current document, dialog box, floating panel, or Site panel.
Arguments
{strPasteOption}
• The
argument, which is optional, specifies the type of paste to perform. Values include:
strPasteOption
,
"structured"
"basicFormat"
Returns
Nothing.
Enabler
See "dreamweaver.canClipPaste()" on page 446.
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
Boolean value, which is optional, specifies whether the Clipboard content is retrieved as text. If
bAsText
is a value of
bAsText
true
retains formatting. This argument defaults to
Returns
A string that contains the contents of the Clipboard, if the Clipboard contains text (which can be HTML); otherwise,
it returns nothing.
argument in Dreamweaver 8.
strPasteOption
, and
"fullFormat"
, the Clipboard content is retrieved as text. If
false
.
bAsText
.
DREAMWEAVER CS3
API Reference
"text"
is a value of
, the content
false
292
,