CMDACTIVE

Stores the information specifying whether a script, dialog box, command, or transparent command is active.

Type:     Integer

Saved:     Not saved (Read-only)

Range:     Sum of the following: 1 (Ordinary command is active), 2 (Ordinary command and a transparent command are active), 4 (Script is active), 8 (Dialog box is active), 16 (AutoLISP or DDE command is active)

Default:     1