Author Topic: QUICK INPUT from a variable  (Read 1219 times)

k9creature

  • Newbie
  • *
  • Posts: 2
QUICK INPUT from a variable
« on: November 14, 2022, 04:14:41 AM »
is it possible to use quick input with a variable
for example
set text [var1] to 'some value'
Quick Input, '{var1}'

If it is possible I cant seem to get the syntax right

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4781
  • RTFM
Re: QUICK INPUT from a variable
« Reply #1 on: November 14, 2022, 07:55:55 AM »
Yes, that is one of its intended uses.


Putting brackets around a variable name does not make for a valid token.

Press F1 while VoiceAttack has focus to open VoiceAttackHelp.pdf in your default PDF viewer, which contains information on VoiceAttack's features, and have a look at the "Text (and Text-To-Speech) Tokens" section.

This topic may also be of use, in addition to the official documentation:
Variables and tokens summed up

k9creature

  • Newbie
  • *
  • Posts: 2
Re: QUICK INPUT from a variable
« Reply #2 on: November 14, 2022, 10:25:46 AM »
Thanks
set text [var1] to 'some value'
Quick Input, '{TXT:var1}'
 :)