Deletes a voice command that was added by
AddVoiceCommand.
Remark: a speech recognition program must be installed on the runtime computer. A speech recognition program is supplied with Windows Vista. For the other systems, "Dragon Naturally Speaking" must be installed (tests run with version 9 "Preferred" or "Standard").
// Start the "Proc_Anim_Window" procedure if the voice command is recognized
Voice1ID is int
Voice1ID = AddVoiceCommand("Proc_Anim_Window", "Animate the window")
...
// Delete the voice command
DeleteVoiceCommand(Voice1ID)
Syntax
DeleteVoiceCommand(<Identifier of voice command>)
<Identifier of voice command>: Integer
Identifier of the voice command to delete. This identifier was returned by AddVoiceCommand.