CMDACTIVE

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

Type:     Integer

Saved:     Temporarily during the session (Read-only)

Range:     Sum of the following: 0 (No command is active), 1 (Ordinary command is active), 2 (Transparent command is active), 4 (Script is active), 8 (Dialog box is active), 16 (Not implemented: DDE is active), 32 (AutoLISP is active), 64 (DRX or SDS is active)

Default:     1