Author Topic: Enter numbers in text box  (Read 2172 times)

neodd70

  • Guest
Enter numbers in text box
« on: April 05, 2018, 10:49:07 AM »
I am new to VA and want to set it up to work with my CAD programs. I have instances where I need to enter specific numbers in an input box like a dimension field. I need to be able to say "one point two seven five" for example and have the output in the dimension box be 1.275. Is there a way to do this without having to have a quick text input for each number. Doing it that way forces me to wait until the command is finished before the next number can be voiced. 

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4759
  • RTFM
Re: Enter numbers in text box
« Reply #1 on: April 05, 2018, 11:48:55 AM »
There are two main options: Dynamic command sections, and dictation.

Using dynamic command sections:
Number [0..99].[0..999]
Code: [Select]
Quick Input, '{CMDSEGMENT:1}.{CMDSEGMENT:3}'

Using dictation:
Number *
Code: [Select]
Quick Input, '{CMD_AFTER}'


Dynamic command sections will generate many commands(100,000 in the example given) but will be recognized more accurately, dictation will only generate a single command but likely fail to get recognized sometimes.