Having multiple commands for AutoVoice

133 views
Skip to first unread message

Saad Thahim

unread,
Jul 11, 2014, 12:07:42 PM7/11/14
to joao...@googlegroups.com
I just wondered, can auto voice have multiple commands on 1 profile.
E.g It may tell me time when I say
"Whats the time" or if I say "Tell me th3 time"
It should execute same profile.

If its not possible kindly add it in your next release.

Danielo Rodríguez

unread,
Jul 11, 2014, 1:47:25 PM7/11/14
to joao...@googlegroups.com
Just use regular expressions

Bill DeWitt

unread,
Jul 11, 2014, 7:43:48 PM7/11/14
to joao...@googlegroups.com
Yeah, with regex you can get pretty complicated, divide it up, (what is|what's|tell me|do you know) the time
OR, just focus on "the time", a profile that recognizes the computer's name and "the time" anywhere in the sentence - "BOB, could you please figure out and report THE TIME for me now?

Saad Thahim

unread,
Jul 11, 2014, 11:59:49 PM7/11/14
to joao...@googlegroups.com
I wrote this in command filter tell me the time (?<num>.+)|what's the time (?<num>.+)
it works but only from the first trigger which is "tell me the time" it doesn't gets the variable value but in the second one it does.

João Dias

unread,
Jul 14, 2014, 9:39:27 AM7/14/14
to joao...@googlegroups.com
Saad, try your regexes here before using them in AutoVoice: regexpal.com


--
You received this message because you are subscribed to the Google Groups "joaomgcd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joaomgcd+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Saad Thahim

unread,
Jul 15, 2014, 5:51:12 AM7/15/14
to joao...@googlegroups.com
i'm trying a sample
open (?<app>.+)|runt (?<app>.+)
its giving me red's on ( brackets.

Baerdric

unread,
Jul 15, 2014, 5:57:50 AM7/15/14
to joao...@googlegroups.com
"I wrote this in command filter tell me the time (?<num>.+)|what's the time (?<num>.+)"

I forget how these commands work, but I'm wondering why you didn't write (tell me the time|what's the time)(?<num>.+) or something like that. I wouldn't think the regex works with variables inside them.


--
You received this message because you are subscribed to a topic in the Google Groups "joaomgcd" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/joaomgcd/PXyLFR3HypM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to joaomgcd+u...@googlegroups.com.

João Dias

unread,
Jul 15, 2014, 6:02:54 AM7/15/14
to joao...@googlegroups.com
Oh, sorry forgot to mention Saad, that the regexpal site doesn't support named variables like that, so you'll need to remove those.
Your expression should be "open (.+)|runt (.+)" (removing the ?<app> part)

Saad Thahim

unread,
Jul 15, 2014, 9:31:55 AM7/15/14
to joao...@googlegroups.com
my expression open (.+)|app(.+)|run (.+)app (.+)
 everything is in yellow and blue, but auto voice on tasker isn't accepting this.

Baerdric

unread,
Jul 15, 2014, 7:11:59 PM7/15/14
to joao...@googlegroups.com
I should to go try it, but I think you are trying to decide between "open" and "run", so it should be (open|run) by itself, then you want to load the variable for an app name. That should come separately, shouldn't it?

Saad Thahim

unread,
Jul 16, 2014, 3:54:35 AM7/16/14
to joao...@googlegroups.com
All what i want to do is, when i say Open Facebook or Run Facebook it should take it as one command but here Facebook is through %app variable.

Baerdric

unread,
Jul 16, 2014, 4:18:35 AM7/16/14
to joao...@googlegroups.com
Have you tried it the way I suggested?

Saad Thahim

unread,
Jul 16, 2014, 4:47:06 AM7/16/14
to joao...@googlegroups.com
i can't understand your last post.
Reply all
Reply to author
Forward
0 new messages