#Calling scripts without having to prefix with "run" <name of script>

1 messages · Page 1 of 1 (latest)

young spoke
#

I'm testing out the new speech-to-phrase addon and I'm looking for a way to call scripts by their name or aliases without having to say run.

For example I have a script called Trigger validation. Voice assist works if I say run Trigger validation but I simply want to say Trigger validation.

hybrid karma
#

Could create an automation with a sentence trigger of "trigger validation" and have it's action be to execute your script

#

Or an intent script if you prefer that, either should work

azure kettle
#

I would not recommend having sentences as vague as this (i.e. simply <name>). You could have a script called "Turn off the lights" and that might get misinterpreted when you call it by just its name

young spoke
#

Created an automation that acts as a proxy for triggering scripts and it seems to work fine. Thanks for the help!

burnt sedge
#

Hi Guys ... I am kinda in a similar situation, as I am testing speech-to-phrase.
I am trying to get wildcards working ... is it possible to fill my shopping list without pre-defining all potential items?

hybrid karma
#

Wild cards aren't supported with speech to phrase