VoiceCaption Property (Command Object)
[Microsoft Agent is deprecated as of Windows 7, and may be unavailable in subsequent versions of Windows.]
-
Description
-
Sets or returns the text displayed for the Command object in the Voice Commands Window.
-
Syntax
-
*agent.*Characters("CharacterID").Commands("Name").VoiceCaption [ = string]
Part Description string A string expression that evaluates to the text displayed.
Remarks
If you define a Command object in a Commands collection and set its Voice property, you will typically also set its VoiceCaption property. This text will appear 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 Caption property determines the text displayed. When neither the VoiceCaption nor Caption property is set, the command does not appear in the Voice Commands Window.
See Also