VoiceCaption Property (Commands Object)

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

Description

Returns or sets the text displayed for the Commands object in the Voice Commands Window.

Syntax

*agent.*Characters("CharacterID").Commands.VoiceCaption [ = string]

Part Description
string A string expression that evaluates to the text displayed.

 

Remarks

If you set the Voice property of your Commands collection, you will typically also set its VoiceCaption property. The VoiceCaption text setting appears in the Voice Commands Window when your client application is input-active and the character is visible. If this property is not set, the setting for the Commands collection's Caption property determines the text displayed. When neither the VoiceCaption or Caption property is set, then commands in the collection appear in the Voice Commands Window under "(undefined command)" when your client application becomes input-active.

The VoiceCaption setting also determines the text displayed in the Listening Tip to indicate the commands for which the character listens.

See Also

Caption property