SayIt: Toggle On-Off Dictation and Voice Shortcuts
  • 2 Minutes to read
  • Dark
    Light

SayIt: Toggle On-Off Dictation and Voice Shortcuts

  • Dark
    Light

Use the following instructions to configure a "toggle to talk" functionality for dictations and voice shortcuts on SayIt, allowing you to press a keyboard hotkey to turn dictation or voice shortcut recording on and leave it on until you click the button again to stop recording.

You will need access to the group Organizations page in the administrator console in order to set this up. If you don't have access, ask your administrator for help.
This configuration involves code which does not run on Mac.


Install the F9 (dictation) / F8 (voice shortcut) toggle command trigger for the group in nVoq.Administrator.

  1. Log in to nVoq.Administrator and go to the Organizations page.
     
  2. From the Organizations menu, select the DIVISION that includes the group in which you want to add the trigger.
    You may need to click the > next to the tenant and/or company level organization to open the menu up to see the divisions below.
    Organization-Menu-select-division


  3. In the list of groups on the page, find the one where you want to add the trigger. Click the actions menu next to the group and select Edit Organization.
    Organizations-actions-edit

     
  4. Click on the Triggers tab.
    Organizations-group-triggers-tab


     
  5. Scroll down to the Startup trigger text field (bottom of page). Copy and paste the code in the box below into the text field, updating the highlighted information as needed.
    • Code highlighted in YELLOW are keyboard keys that you will use for the toggle functionality for dictation and shortcut recording.
      • If you want to use different keyboard keys besides F8 (for voice shortcuts) and F9 (for dictation) for the toggle functionality, replace the text highlighted in yellow with the key you want to use.
      • See Send Key List at https://www.autoitscript.com/autoit3/docs/appendix/SendKeys.htm for a key name quick reference.
    • Code highlighted in PINK is the keyboard key that is set as the default hotkey in SayIt for press-to-talk dictation functionality.
      • If you have a different hotkey other than F2 configured as the default dictation hotkey for the group, replace the text highlighted in pink with the key that is assigned for the group.
      • This needs to be the same as whatever hotkey is assigned in SayIt for the group, but you will not need to use this hotkey for dictation if you will be using the toggle hotkey for dictation instead (highlighted in yellow).
    • Code highlighted in BLUE is the keyboard key that is set as the default hotkey in SayIt for press-to-talk voice shortcut functionality.
      • If you have a different hotkey other than F3 configured as the default voice shortcut hotkey for the group, replace the text highlighted in blue with the key that is assigned for the group.
      • This needs to be the same as whatever hotkey is assigned in SayIt for the group, but you will not need to use this hotkey for voice shortcuts if you will be using the toggle hotkey for voice shortcuts instead (highlighted in yellow).
    • Code highlighted in GREEN is the name of the voice client. 
      • If your voice client is not called "SayIt", replace the text highlighted in green below with the name that appears at the top of your voice client.

        ;nvoq-timeout-seconds: 86400

        HotKeySet("{F9}", toggleMic)
        HotKeySet("{F8}", ShortcutToggleMic)

        Global $micOn = false

        Func toggleMic ()
           If Not $micOn Then
        Send("{F2 down}")
           Else
        Send("{F2 up}")
           EndIf
           $micOn = Not $micOn
        EndFunc

        Func ShortcutToggleMic ()
        Send("{F3 down}")
           Sleep("2500")
        Send("{F3 up}")
        EndFunc

        While WinExists("SayIt - " & EnvGet("NVOQ_USERNAME"))
           Sleep(500)
        WEnd


  1. Slide the enabled toggle to the on/blue position next to the Startup trigger.
    nVoqAdmin-Toggle-Trigger


  2. Click the Save button at the bottom of the page. 
 If you are using a Philips SpeechMike, you can also map the hotkey to a button on the microphone.
 See 
Philips SpeechMike Dictation Toggle