Author Topic: Say for dictate a semicolon  (Read 834 times)

E_RAMEL

  • Newbie
  • *
  • Posts: 37
  • 😊 VoiceAttack saves my wrists 👍🏻
    • Landscop design - Paysagistes
Say for dictate a semicolon
« on: April 04, 2021, 02:14:58 AM »
Hello everyone,
I would like to dictate a semi-colon ";".
But this symbol is used in the dictation syntax to separate elements and VoiceAttack does not take it if I just type ; in "When y say".
Is there a syntax for saying semicolon in ";" and not in text?
If I haven't made myself clear, don't hesitate to ask me for clarification.
Thank you in advance for your help.
Best regards.
Edgar

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: Say for dictate a semicolon
« Reply #1 on: April 04, 2021, 01:16:16 PM »
For the dictation mode, speaking "semicolon" should be transcribed as ";".

Are you looking to insert that symbol as part of a predefined command phrase instead?

If so, while you can't enter the character, you could replace the literal text "semicolon" with the symbol, either using the "{TXTREPLACEVAR:}" token, or the "Replace with" feature of the "Set a Text Value" action.

E.G.
Code: [Select]
Quick Input, '{TXTREPLACEVAR:"{CMD}":"semicolon":";"}'
or
Code: [Select]
Set text [~output] to '{CMD}' (Replace 'semicolon' with ';')
Set Windows clipboard to '{TXT:~output}'
Press Left Ctrl+V keys and hold for 0,01 seconds and release
(either output method should work for either replacement method)


Of course, if all your command does is insert the character, you could instead use a keypress action set to press the relevant key on your keyboard that produces said character.

E_RAMEL

  • Newbie
  • *
  • Posts: 37
  • 😊 VoiceAttack saves my wrists 👍🏻
    • Landscop design - Paysagistes
Re: Say for dictate a semicolon
« Reply #2 on: April 06, 2021, 04:47:37 AM »
Thanks Pfeil,

I'll make a note and try your solutions.

In fact, I dictate in French and when I said the French word "point-virgule" for semi-colon, the voice synthesis included the sign ";" and indicated in yellow that the commnade did not exist in Voiceattack.

So I say "semi-colon" in English, and the problem is solved, Voiceattack now "presses" the ";" key for me.

When you don't know the language and the computer syntax like you do, you have to find other ways to trick people 😉.

Thank you for your precious help to neophytes and have a nice day.
Best regards.
Edgar