Visible Property (Command Object)

[Microsoft Agent is deprecated as of Windows 7, and may be unavailable in subsequent versions of Windows.]

Description

Returns or sets whether the Command is visible in the character's pop-up menu.

Syntax

agent**.Characters("CharacterID").Commands("name").Visible** [ = boolean]

Part Description
boolean A Boolean expression specifying whether the Command's caption appears in the character's pop-up menu.
True (Default) The caption appears.
False The caption does not appear.

Remarks

Set this property to False when you want to include voice input for your own interfaces without having them appear in the pop-up menu for the character. If you set a Command object's Caption property to the empty string (""), the caption text will not appear in the pop-up menu (for example, as a blank line), regardless of its Visible property setting.

The Visible property setting of a Command object's parent Commands collection does not affect the Visible property setting of the Command.