VoxCommando

VoxWav and Other Apps on Mobile Devices => Tasker + VC => Topic started by: Simeon Tuitt on April 22, 2016, 10:54:20 AM

Title: Last Thing Vox Said By TTS Variable Required For Use With Scrape For Auto Remote
Post by: Simeon Tuitt on April 22, 2016, 10:54:20 AM
Hi Guys,

Just a quick question, does anyone know the variable for the last TTS thing vox said, I can find all the variables for it to tell me the last thing I said, the last event it ran etc, but there doesn't seem to be one in the list to add the last Text To Speech vox said to me.

So if anyone can drop me the variable for doing just that, would really appreciate it.

The way I am using it is having the last TTS Speak variable added at the end of a scraped url.

PegLegTV any ideas?

Thanks.
Sim  8)
Title: Re: Last Thing Vox Said By TTS Variable Required For Use With Scrape For Auto Remote
Post by: nime5ter on April 22, 2016, 12:12:48 PM
There's no LastTTS variable but you can use the action: TTS.GetLastText (http://voxcommando.com/mediawiki/index.php?title=Plugin_TTS#GetLastText)
Title: Re: Last Thing Vox Said By TTS Variable Required For Use With Scrape For Auto Remote
Post by: Simeon Tuitt on April 22, 2016, 12:44:41 PM
There's no LastTTS variable but you can use the action: TTS.GetLastText (http://voxcommando.com/mediawiki/index.php?title=Plugin_TTS#GetLastText)

Thanks for the quick help nime5ter, is there anyway to get that action to work at the end of a scraped url, I have tried it and it doesn't insert the text.

I know the TTS.GetLastText can be used within vox, but what I am doing is having the TTS added to the end of a scraped url for my device and then tasker is reading it.

It is so I can have TTS feedback from vox when on 3g and away from home and it is a quick simple way to do it, so need to find a way for the last TTS vox says to be added to the end of my scraped url.

All the other variables work fine for being spoken, so I just need to find one that shows the last text vox ran from tts speak since it will vary.
Title: Re: Last Thing Vox Said By TTS Variable Required For Use With Scrape For Auto Remote
Post by: nime5ter on April 22, 2016, 12:54:18 PM
The action works the way any VoxCommando action that "gets" some kind of information works.

It stores the result of the action in {LastResult}.

So you'd need to add a TTS.GetLastText action in directly above your scrape action. Then you use {LastResult} in your URL to represent the last TTS spoken.

Title: Re: Last Thing Vox Said By TTS Variable Required For Use With Scrape For Auto Remote
Post by: Simeon Tuitt on April 22, 2016, 01:00:57 PM
The action works the way any VoxCommando action that "gets" some kind of information works.

It stores the result of the action in {LastResult}.

So you'd need to add a TTS.GetLastText action in directly above your scrape action. Then you use {LastResult} in your URL to represent the last TTS spoken.

Hi nime5ter, I had just worked it out and got it working before this reply, but thanks for the help though, I appreciate it.  8)