Caption Property (Command Object)

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

Description

Determines the text displayed for a Command in the specified character's pop-up menu.

Syntax

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

Part Description
string A string expression that evaluates to the text displayed as the caption for the Command.

 

Remarks

To specify an access key (unlined mnemonic) for your Caption, include an ampersand (&) character before that character.

If you don't define a VoiceCaption for your command, your Caption setting will be used.