Author Topic: How do I have TTS say the current system time in VoiceAttack?  (Read 2912 times)

StrangCrunchy1

  • Guest
How do I have TTS say the current system time in VoiceAttack?
« on: January 06, 2019, 02:06:42 PM »
I can get as far as setting the time portion of the date set to my variable [currTime], and have the TTS say 'The time is', but after that I'm stumped; I'm still trying to learn the intricacies of scripting for VA, and I can do a few basic things, but getting the Say something with TTS  command to speak a variable seems to be beyond my current abilities.

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4759
  • RTFM
Re: How do I have TTS say the current system time in VoiceAttack?
« Reply #1 on: January 06, 2019, 02:21:57 PM »
No need to set a variable for the current time, you can use the "{TIME}" token in the TTS textbox and it'll be replaced with the current time automatically.

More information on tokens can be found from VoiceAttackHelp.pdf page 129 onward.

StrangCrunchy1

  • Guest
Re: How do I have TTS say the current system time in VoiceAttack?
« Reply #2 on: January 07, 2019, 03:31:31 AM »
Oh, okay.  Thank you very much :)