Author Topic: Ignore words before command filter and use avcommsnofilter???  (Read 1200 times)

Offline Clmcm400

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Ignore words before command filter and use avcommsnofilter???
« 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.

Offline donky6

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: Ignore words before command filter and use avcommsnofilter???
« Reply #1 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/
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.

Offline Clmcm400

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: Ignore words before command filter and use avcommsnofilter???
« Reply #2 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)