AutoVoice Autovoice run "variable task" by task name

Discussion in 'AutoApps' started by Sunrainsky, Mar 9, 2018.

  1. Sunrainsky

    Sunrainsky New Member

    Is it possible for this scenario?
    Q: Ok Google, talk to Autovoice
    A: Please say your Autovoice command now
    Q: Run task
    A: which task
    Q: [variable task name]

    Basically, while I can create recognized profile for every task,is there a way to have a universal profile that can execute any task in Tasker by Task name?
    It's quite tiring to assign a recognized profile for every task.
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Sure it is :)

    Simply make the command accept a variable. Check this video.
    Also check here.

    Hope this helps!

    This is actually a cool use case for a tutorial, I think I'll create it :)
     
  3. Sunrainsky

    Sunrainsky New Member

    I'll check it out!
    Thank you so so much!
     
  4. Sunrainsky

    Sunrainsky New Member

    I followed your tutorial video on variables.
    Using $ sign work for setting variable.

    I can't long press as it will give me other options like translate,copy paste.

    I checked out another tutorial
    http://www.notenoughtech.com/tasker/autovoice-regex-groups/

    using something called regex variable and I can't get the variable %room. When I use ""flash" for %room, it shows %room instead of what I said.

    Any help is definitely appreciated. I've been trying to read up on variables and Regex variables. Seems the latter is more flexible?
     
  5. joaomgcd

    joaomgcd Administrator Staff Member

    Try setting the "Easy Way" AutoVoice Command filter to

    Code (Text):
    run task $task
    Then in the task add a flash action with "Running task %task"

    Then say the command "Run Task test" and it should work :) Let me know if this helps.
     
: Autovoice

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice