Get Command State

Check the current enabled state of a command

You could use this to check if a command is enabled or disabled. This value is stored in the Boolean variable commandState and can be True or False.

![get_command_state_dialog_box.png](/get-command-state/get_command_state_dialog_box.png =400x)

Parameters

Command
Dropdown

Select an existing command to get its state

Variables

The following variables will be populated after executing this sub-action:

Description
commandStatebool

The current enabled state of this command

Example: true