beautypg.com

Dreamweaver.canpastespecial(), Dreamweaver.canplayrecordedcommand(), Dreamweaver.canpopupedittagdialog() – Adobe Dreamweaver API Reference CS5 User Manual

Page 511

background image

506

DREAMWEAVER API REFERENCE

Enablers

Last updated 8/27/2013

Arguments
None.

Returns
A Boolean value:

true

if the selection or insertion point is within a frame;

false

otherwise.

dreamweaver.canPasteSpecial()

Availability
Dreamweaver 8.

Description
Checks whether Dreamweaver can perform a Paste Special operation.

Arguments
None.

Returns
A Boolean value:

true

if there is text, HTML, or Dreamweaver HTML on the Clipboard and focus is in Code View,

Design View, or Code Inspector;

false

otherwise.

dreamweaver.canPlayRecordedCommand()

Availability
Dreamweaver 3.

Description
Checks whether Dreamweaver can perform a Play Recorded Command operation.

Arguments
None.

Returns
A Boolean value:

true

if there is an active document and a previously recorded command that can be played;

false

otherwise.

dreamweaver.canPopupEditTagDialog()

Availability
Dreamweaver MX.

Description
Checks whether the current selection is a tag and whether the Edit Tag menu item is active.