Platform SDK: Agent

Enabled Property

Description
Returns or sets whether the Command is enabled in the specified character's pop-up menu.
Syntax
agent.Characters ("CharacterID").Commands("name").Enabled [ = boolean]
Part Description
boolean A Boolean expression specifying whether the Command is enabled.

True The Command is enabled.

False The Command is disabled.


Remarks

If the Enabled property is set to True, the Command object's caption appears as normal text in the character's pop-up menu when the client application is input-active. If the Enabled property is False, the caption appears as unavailable (disabled) text. A disabled Command is also not accessible for voice input.