Author Topic: v1.7.3 Windows copy buffer cant paste { }  (Read 1618 times)

darcey

  • Guest
v1.7.3 Windows copy buffer cant paste { }
« on: November 29, 2018, 05:45:38 AM »
v1.7.3.

I've set the following string to be saved in windows copy buffer:
if (xxx == xxxx){

}

However when voice attack pastes this via CTRL V it results in:
if (xxx == xxxx)




The { } are always removed ???

Any ideas?

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: v1.7.3 Windows copy buffer cant paste { }
« Reply #1 on: November 29, 2018, 07:16:17 AM »
Hi, Darcey

If you are putting a literal value into the clipboard through VA's 'Set value to Windows Clipboard' action, your curly brackets are being treated as part of a token.  That is, whatever is between your brackets is being parsed through the token processor.  To use literal curly brackets in places that accept tokens in VA, simply replace your curly brackets with this:  '|{'  and '|}'  and you should be good to go :

Code: [Select]
if (xxx == xxxx)|{

|}

See the, 'Text (and Text-To-Speech) Tokens' inside of VA's help documentation (somewhere around page 129).

Hope that helps!

darcey

  • Guest
Re: v1.7.3 Windows copy buffer cant paste { }
« Reply #2 on: November 29, 2018, 07:50:27 AM »
Excellent, thanks :)