Visible Property (Commands Object)

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

Description

Returns or sets a value that determines whether your Commands collection's caption appears in the character's pop-up menu.

Syntax

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

Part Description
boolean A Boolean expression specifying whether your Commands object appears in the character's pop-up menu.
True The caption appears.
False The caption does not appear.

Remarks

For the caption to appear in the character's pop-up menu when your application is not the input-active client, this property must be set to True and the Caption property set for your Commands collection. In addition, this property must be set to True for commands in your collection to appear in the pop-up menu when your application is input-active.