Commands Object Properties

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

The server supports the following properties for the Commands collection:

An entry for the Commands collection can appear in both the pop-up menu and the Voice Commands Window for a character. To make this entry appear in the pop-up menu, set its Caption property. To include the entry in the Voice Commands Window, set its VoiceCaption property. (For backward compatibility, if there is no VoiceCaption, the Caption setting is used)

The following table summarizes how the properties of a Commands object affect the entry's presentation:

Caption Property Voice-Caption Property Voice Property Visible Property Appears in Character's Pop-up Menu Appears in Voice Commands Window
Yes Yes Yes True Yes, using Caption Yes, using VoiceCaption
Yes Yes No True Yes, using Caption No
Yes Yes Yes False No Yes, using VoiceCaption
Yes Yes No False No No
No Yes Yes True No Yes, using VoiceCaption
No Yes Yes False No Yes, using VoiceCaption
No Yes No True No No
No Yes No False No No
Yes No1 Yes True Yes, using Caption Yes, using Caption
Yes No No True Yes No
Yes No Yes False No Yes, using Caption
Yes No No False No No
No No Yes True No No
No No Yes False No No
No No No True No No
No No No False No No
If the property setting is null. In some programming languages, an empty string may not be interpreted as the same as a null string. The command is still voice-accessible, and appears in the Voice Commands Window as "(command undefined)".