User Guide

Enablers 443
dreamweaver.canClipCut()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform a Cut operation.
Arguments
None.
Returns
A Boolean value: true if there is any selected content that can be cut to the Clipboard;
false otherwise.
dreamweaver.canClipPaste()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform a Paste operation.
Arguments
None.
Returns
A Boolean value: true if the Clipboard contains any content that can be pasted into the current
document or the active window in the Site panel (on the Macintosh, a text field in a floating
panel or dialog box);
false otherwise.
dreamweaver.canDeleteSelection()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can delete the current selection. Depending on the window that
has focus, the deletion might occur in the Document window or the Site panel (on the
Macintosh, in an text field in a dialog box or floating panel).
Arguments
None.
Returns
A Boolean value: true if the opening and closing offsets for the selection are different, which
indicates that there is a selection; false if the offsets are the same, indicating that there is only an
insertion point.
000_DW_API_Print.book Page 443 Wednesday, August 20, 2003 9:14 AM