Custom voice commands let you map a phrase to another phrase or command. It is a powerful feature that can use to correct common grammatical errors, avoid repetitive data entry, trigger commands, insert uncommon words, etc.
In this document, we will go over how to create custom voice commands, create voice commands that match within words, action commands, and finally conclude with some popular use cases for custom voice commands.
If you want to use voice commands to perform an action like changing the dictation language, pressing a keyboard shortcut, opening a webpage, closing the current tab, or simply inserting a line break, go to the Action Commands section.
1) Creating a Custom Voice Command
Step 1: Ensure you have the Voice In Voice-To-Text extension installed and have upgraded to Voice In Plus.
Step 2: Open the Voice In Options Page
Step 3: On the options page, go to the Custom Commands section and click on Add New Command button.
A pop-up will appear on the page asking you for details of your custom voice command. Say This is the phrase that will activate this voice command, To Insert This is the phrase you want to insert. Fill out the form and click Add new command. The voice command should now be active.
If you want to add multiple commands at once, you can instead click on the Bulk Add Commands button.
This will open up a pop-up. You can enter a list of voice commands in CSV format, and bulk add them.
Finally, You can use the Export Commands button to backup your voice commands in CSV format. A backup of your custom voice commands can also be found here. Currently, voice commands don't sync across your machines. If you are on a new machine or if you reinstall the Chrome extension, you may have to initialize the voice commands manually. We are working on automating this process.
2) Matching within a Word
By default, voice commands do whole-word matching. If you have a command for the word "magic", it will only match "magic" but not "magical". To match both "magic" and "magical" using the phrase "magic", you need to check the match within the word option when creating the voice command.
3) Action Commands supported
Action commands are phrases that do not insert any text but accomplish a specific task. Voice In supports the following action commands:
<newline> | Insert a line break |
<newparagraph> | Insert a paragraph break |
<paste> | Paste text from the clipboard |
<undo> | Undo the last text insertion |
<capson> | Insert text in upper case going forward (behaves as caps lock on) |
<capsoff> | Turns off <capson> |
<capitalize> | Capitalize the next word |
<enter> | Press enter key |
<tab> | Press tab key |
<open:*> | Open a webpage. Example <open:https://google.com> |
<press:*> | Press a keyboard shortcut. Example <press:shift+enter> |
<scrollup>, <scrolldown>, <scrolltop>, <scrollbottom> |
Scroll on the current page up, down, to the top, and to the bottom respectively |
<closetab> | Close the current tab |
<lang:*> | Change language. Example <lang:es-ES> to change to Spanish (Spain) |
<case:*> | Change dictation case. Example <case:uppercase> to use uppercase |
You can add a voice command mapping any phrase to the action commands listed above. For example, you can add a voice command
"uline" (a common dictation error when you say new line) => "<newline>".
Some of the action commands are configurable. For example, you can add a voice command "spanish" => "<lang:es-ES>" to quickly change the dictation language to Spanish. Below we describe the 4 configurable action commands <open:*>, <press:*>, <lang*> and <case:*>
1) <open:*>: open a new webpage
Use this action command to open a webpage. Example:
open google => <open:https://google.com>
2) <press:*>: press keyboard shortcut
Use this action command to trigger a key press.
For example, in Gmail, the shortcut to send the email is ctrl + enter (cmd + enter on Mac). You can trigger this action using voice commands by adding a voice command "send mail" => <press:ctrl+enter> (or <press:cmd+enter> on Mac). For more details, check the Using Action Commands for Keyboard Shortcuts article.
3) <lang:*>: change dictation language
Use this action command to change the dictation language. Example:
use spanish => <lang:es-ES>
use english => <lang:en-US>
The command requires the language code of the language. In the example above, en-US in the language code for English (United States).
You can look up the language code for your language in the list of languages supported by Voice In.
4) <case:*>: change dictation case
Voice In supports transforming dictated text to a specific case. The five supported cases are default, lowercase, UPPERCASE, Sentence case, and Capitalize Each Word. Use this <case:*> action command to switch between them. Example:
uppercase => <case:upper>
Possible values are <case:default>, <case:lower>, <case:upper>, <case:sentence>, <case:capitalize> for default, lowercase, UPPERCASE, Sentence case, and Capitalize Each Word respectively.
4) Common Use Cases
Here are some common use cases for custom voice commands:
1) Correct common dictation errors
For example, one user reported that due to her accent, when she says "new line" to insert a new line, it always gets dictated as "Uline". She can correct this error by adding a voice command mapping.
uline | <newline> |
So the next time she says "new line", it will actually trigger the new line voice command.
2) Remove censorship for adult words
By default, the browser's speech-to-text engine will censor adult language words. You can use voice commands to reverse this. For example, you can map "f***" to "fuck" to reverse censorship of that word. You can use Bulk Add Commands to add many of these at one time.
For English and German, we have already created the list. If you want to enable adult language words without the censorship for these languages, click on Bulk Add Commands button and copy-paste the commands from here.
3) Avoid repetitive text entry using Templates
For example, a salesperson would add a voice command
thank you message | Thank you for purchasing from XYZ Store. Thanks, ABC |
A doctor who is doing a general checkup of a patient would add
checkup text |
General/Constitutional: Respiratory: |
This saves time with having to copy-paste this text block before every consultation.
Comments
10 comments
単語登録をしたのですが なかなかうまくいきません 緑の森こども園という単語を登録したのですが思うような単語が出てきません 例えば緑の森こども園の緑はカタカナなのですが漢字に変換されてしまいます ニトリはカタカナで 森は杜の都の杜です その二つを 登録したのですが 緑の森こども園と変換されます
aola siur aola siur incanee
loseolpopp hjy
hipse
lol
g
e
l
y
n
d
a
anolesa
comesta
wie schreibe ich dauerhaft ss statt ß
hi
you are the best forever
Please add wildcards into commands. I need it very much because my (Polish) language is flexible language. I will give you an example: I would like to add comma into text "taka że" - "taka, że", "taki że" - "taki, że", "taką że" - "taką, że". Now I must use 3 commands. With wildcards I could only use one "tak* że" - "tak*, że". Thanks in advance!
Please sign in to leave a comment.