AutoVoice How to... Get an error answer after a not recognized command

Discussion in 'AutoApps' started by Davierosoft, Jun 13, 2017.

  1. Davierosoft

    Davierosoft New Member

    Joined:
    Oct 8, 2016
    Messages:
    7
    Likes Received:
    0
    Hi all!
    Please read, it is a tricky question, not so easy as you can think.

    I created around 100 voice commands for my phone, some easy, some regex, some chained. In order to activate the mic I use a av recognized command in a task activated by the fingerprint (previously I was using shake). That recognize command is set with no filters, so any word is good for him.
    It is only needed to open mic and then trigger the avrecognized events.

    The problem is here... As the avrecognize is set with no filter, any word is set as %avcomm. This mean that I cannot have that variable not set or I cannot trigger av not recognized event. It is only possible to have a timeout error and trigger an answer for that.
    How can I solve?
    Thanks
    Andrew
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    806
    You can use the "AutoVoice No Match" event condition for this situation. Hope this helps!
     
  3. Davierosoft

    Davierosoft New Member

    Joined:
    Oct 8, 2016
    Messages:
    7
    Likes Received:
    0
    Well thanks! Perfect!
    I don't know how I did not seen, I used the rec failed event and I missed the no match command...
    My fault :p
    Thank you!
     
: Avrecognized

Share This Page