Commands in VoiceAttack can be triggered by the "When I say" phrase, a keyboard key or key combo, joystick/controller or mouse button. All of these options are available for every command regardless of whether another was also used. We can also trigger commands through various conditional means in the Profile Options under the "Profile Exec" tab along the top, through plugins or inline functions, or via actions inside other commands or profiles.
Inside any single command, you can make it trigger upon recognition of a speech phrase and also trigger upon a keyboard key or key combo. If you needed to determine how the command was triggered for some reason, you can do so using the text token {CMDACTION}.
The value [of {CMDACTION}] will be, 'Spoken' if the command was executed by a spoken phrase, 'Keyboard' if the command
was executed using a keyboard shortcut ...
Read more about Tokens around page 164 of the VoiceAttack Help Manual - you can find this {CMDACTION} token and its full description around page 167.