Author Topic: Storing Clipboard in Variable - Variable Not Set  (Read 4113 times)

10over7

  • Guest
Storing Clipboard in Variable - Variable Not Set
« on: September 17, 2017, 02:58:33 AM »
Hello all,
I am getting to grips with VoiceAttack - I would like to store some clipboard values in variables for later use.
I have searched the forums, and appear to be following the advice of the following post: http://voiceattack.com/SMF/index.php?topic=786.msg3923#msg3923

However, I still get 'Variable not set'. The sequence is as below:

Set Windows clipboard to 'Test value'
Set Text [clipTest] to '{CLIP}'                         
//This is set in the Set Text Value To: Text field.
Pause 0.5 seconds
Say, 'Testing variable:{TXT:[clipTest]}'



Thankyou for any assistance with this!
10over7

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: Storing Clipboard in Variable - Variable Not Set
« Reply #1 on: September 17, 2017, 05:52:51 AM »
The square brackets are there to indicate the text is the name of a variable, however they're not actually part of said variable name.

Try "{TXT:clipTest}" instead.