Voice Control sub-actions¶
Set Voice Control Command¶
Changes the phrase of a Voice Control command, or makes a new command. Handy to change what you must say, for example one phrase per game.
| Setting | What to put in |
|---|---|
| Command | The name of a voice command from the Voice Control page, like "Switch scene". |
| Command phrase | The words to listen for, like "scene gaming". You can use %variables%. |
| Location | Where the phrase can be in your sentence. Exact = it must be everything you say. Start = at the beginning. Anywhere = anywhere. Unchanged = keep the current setting. Options: Unchanged, Exact, Start, Anywhere. Starts as: Unchanged. |
| Create the command if it doesn't exist | Tick to make the command if it does not exist yet. Unticked, a missing command gives an error. Starts as: false. |
Variables it adds
| Variable | What it holds |
|---|---|
%voiceCommandName% |
The name of the command |
%voiceCommandPhrase% |
The phrase it now listens for |
Type id: voiceControl.setCommand
Set Voice Control Command State¶
Turns a Voice Control command on or off, or flips it. A turned-off command is ignored when you say it.
| Setting | What to put in |
|---|---|
| Command | The name of a voice command from the Voice Control page. |
| State | Enabled turns it on. Disabled turns it off. Toggle switches to the opposite. Options: Enabled, Disabled, Toggle. Starts as: Enabled. |
Variables it adds
| Variable | What it holds |
|---|---|
%voiceCommandEnabled% |
True if the command is on now |
Type id: voiceControl.setCommandState
Set Voice Control Input¶
Chooses which microphone Voice Control listens to. Handy if you have several microphones. It works right away, also while listening.
| Setting | What to put in |
|---|---|
| Audio Input Device | The microphone's name, picked from the list. Default = your computer's normal microphone. Starts as: Default. |
Type id: voiceControl.setInput
Start/Stop Listening¶
Starts or stops Voice Control listening to your microphone. Good for a push-to-talk hotkey, so your commands are only heard when you want.
| Setting | What to put in |
|---|---|
| State | Start begins listening. Stop ends it. Toggle switches to the opposite. Options: Start, Stop, Toggle. Starts as: Start. |
Variables it adds
| Variable | What it holds |
|---|---|
%voiceControlListening% |
True if Voice Control is listening now |
Type id: voiceControl.setListening