The Vera Community forums have moved!

General => Remote Control => AutoVera => Topic started by: Clmcm400 on September 01, 2015, 10:19:06 am

Title: Ignore words before command filter and use avcommsnofilter???
Post by: Clmcm400 on September 01, 2015, 10:19:06 am
If I say "I want to say this is a test"

command filter = say

avcommsnofilter returns "I want to this is a test"

I want it to return "this is a test"

How can I best accomplish this?  I have been trying to change the command filter to include a wildcard *say but that doesnt seem to work...

Thanks.
Title: Re: Ignore words before command filter and use avcommsnofilter???
Post by: donky6 on September 02, 2015, 02:29:34 pm
Ignore the %avcommsnofilter and use %avcomm instead by putting into a variable and then splitting it (using 'say' as the split point?

http://apcmag.com/ultimate-guide-to-tasker-app-part-3-using-data-from-the-web.htm/ (http://apcmag.com/ultimate-guide-to-tasker-app-part-3-using-data-from-the-web.htm/)
That guide actually is about parsing data from a website, but it does have a great section on using variables and splitting them to get only what you want.
Title: Re: Ignore words before command filter and use avcommsnofilter???
Post by: Clmcm400 on September 03, 2015, 06:27:01 pm
THANK YOU!  Took a  bit of futzing, but that did exactly what I wanted it to... and now that I know I can split voice commands, that opens A LOT of possibilities.  Thanks!  (and I saw you only had one post... I appreciate you using your first post to answer my question =D)