Alexa responsive routine
-
Hi,
A long time ago i seen na vídeo about an man, who's say "hi alexa", and his aleax respond, "Hi user, whats you wanna do today?", and he say
right after this: "i wanna play dark souls 3"; And he alexa oppened the game on PC.
But i dont know some way to make na alexa routine like:
-
ALexa, shearch something for me on pc.
-
ok sir, whats you wanna shearch?
-
archine 665;
-
ok, seharching...
-
This is what i found:
*Shows on my pc the folder named "Archive 665"
-
-
@Paulo-Vinicius, Alexa routines are not interactive like that, and none of the TRIGGERcmd Alexa skills work that way either.
The best you could do is say,
Alexa, ask TC to run find with parameter archive 665
That could run a script on your computer with these two parameters: archive 665
Your script could run a command like this to bring up the folder in Windows Explorer if it finds a folder with "archive 665" in the name:
explorer "c:\folders\archive 665"
-
@Paulo-Vinicius it is possible to do something like this.
First you need to enable follow up mode for each Alexa device you speak to. With this enabled you can have Alexa trigger another device after the first one without having to say Alexa first.(this has a time out so you must say your next request before the time runs out.You'd then need to create a trigger CMD command that opens archive 665 on your pc and responds with "I found this"
Then create a routine call search1 the trigger would be when you say "Alexa search my pc for archive 665" under Add action add the smarthome device that runs the Trigger CMD archive 665 device.
This is just the basics but youd need to have trigger CMD devices for each folder you'd like to open.
You could also create a script that open a variable (folder) as Russ suggests -
@Russ, it is true Alexa routines aren't interactive as @Paulo-Vinicius wants however it is possible to make it seem as though they are by adding Alexa says " is there anything else I can do?" at the end of a routine.
Unfortunately follow up mode doesn't work with routines yet -
Thanks @tuicemen. I've seen that "Follow-up Mode" setting for each echo device. I never understood it until now. I just used it to say:
"Alexa, ask TRIGGERcmd to run calculator."
Calculator ran and my Echo dot continued listening, so I said:
"turn on notepad"
Notepad ran.
I could have used the Voice Reply field to prompt myself for what to say next after it ran calculator.
-
@Russ , I did a bit more playing with routines and follow up mode. You can't run another routine after one or activate a device after with out saying Alexa first, but you can run a routine after a device trigger.
If in a routine you add a say command asking "do you wish anything else?" then you can say "yes, Alexa, run....." or "no, Alexa, thank you" and she will respond to both. Doing this you could make it seem more like Alexa is interacting.