<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Voice words &#x2F; parameters]]></title><description><![CDATA[<p dir="auto">Hi!  I just bought an Echo tonight, and the deciding factor was that I could control my PC when I Googled and saw your program.  I've been playing with it, it's cool.  However, I have one snag.  I wanted to be able to launch videos from it, so I created a trigger "Die Hard", command was the path and filename of the video, voice was "die hard".  I pronounced it as clearly as I could but it keeps saying "cannot find command die".  Does it not support multiple word voice commands?  I changed it to "die" and it worked.</p>
<p dir="auto">Also I was trying to find documentation on parameters and failing.  Can you direct me?  I'm wondering if I can create a command that is generic then pass parameters that I assume I say after the trigger word to launch the appropriate title.  I just can't find any docs on how parameters work.</p>
<p dir="auto">I setup a trigger "video", with command "p:\utils\scripts\triggercmd.php video", voice "video" allow parameters true.  My PHP script looks for parameter "diehard".  I said "alexa, ask trigger c m d to run video diehard" and it said "could not find a command with voice word video hard on (pcname)".  Am I misinterpreting how to use parameters?</p>
]]></description><link>https://www.triggercmd.com/forum/topic/95/voice-words-parameters</link><generator>RSS for Node</generator><lastBuildDate>Wed, 20 May 2026 04:44:14 GMT</lastBuildDate><atom:link href="https://www.triggercmd.com/forum/topic/95.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 10 Nov 2017 16:04:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Voice words &#x2F; parameters on Fri, 26 Jan 2018 22:56:24 GMT]]></title><description><![CDATA[<p dir="auto">@parker-reed, yes actually, I did that a while ago.  Sorry I never updated this thread.</p>
<p dir="auto">Here's the announcement:<br />
<a href="https://www.triggercmd.com/forum/topic/111/now-you-can-pass-parameters-to-your-alexa-commands">https://www.triggercmd.com/forum/topic/111/now-you-can-pass-parameters-to-your-alexa-commands</a></p>
]]></description><link>https://www.triggercmd.com/forum/post/524</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/524</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Fri, 26 Jan 2018 22:56:24 GMT</pubDate></item><item><title><![CDATA[Reply to Voice words &#x2F; parameters on Thu, 25 Jan 2018 23:09:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/1">@russ</a> Any update on this?</p>
]]></description><link>https://www.triggercmd.com/forum/post/522</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/522</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 25 Jan 2018 23:09:55 GMT</pubDate></item><item><title><![CDATA[Reply to Voice words &#x2F; parameters on Tue, 28 Nov 2017 22:01:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/91">@Strahan</a>, thanks for the input.  I'll add this to my todo list..</p>
]]></description><link>https://www.triggercmd.com/forum/post/305</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/305</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Tue, 28 Nov 2017 22:01:12 GMT</pubDate></item><item><title><![CDATA[Reply to Voice words &#x2F; parameters on Tue, 28 Nov 2017 00:59:46 GMT]]></title><description><![CDATA[<p dir="auto">Thanks.  The generic usage method looks fine.  I wouldn't think that a movie or whatever specific parameter would really be necessary; the people creating their commands will know what kind of input to expect and will handle it accordingly.</p>
<p dir="auto">I guess for now I'll just make "codewords" that do specific functions, heh.  That'll work for now.  Thanks again!</p>
]]></description><link>https://www.triggercmd.com/forum/post/304</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/304</guid><dc:creator><![CDATA[Strahan]]></dc:creator><pubDate>Tue, 28 Nov 2017 00:59:46 GMT</pubDate></item><item><title><![CDATA[Reply to Voice words &#x2F; parameters on Tue, 21 Nov 2017 13:42:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/91">@Strahan</a>,<br />
I haven't implemented a way to pass parameters with your voice yet.  I'm willing to though, so please give me your ideas on how I should do it.</p>
<p dir="auto">I could program it to have Alexa expect a movie at a particular point in your spoken sentence, so here's one idea for your use case.  I could have Alexa expect a movie title as parameter if you say:</p>
<pre><code>Alexa, ask TRIGGERcmd to play movie Z on Y
Alexa, ask TRIGGERcmd to play movie Z  (runs on your default computer)
</code></pre>
<p dir="auto">It would run your command with voice word "movie" with a parameter that equals your <a href="https://developer.amazon.com/docs/custom-skills/slot-type-reference.html#movie" rel="nofollow ugc">spoken movie title</a>.</p>
<p dir="auto">If I do that I might as well add this option too:</p>
<pre><code>Alexa, ask TRIGGERcmd to play song Z on Y
Alexa, ask TRIGGERcmd to play song Z  (runs on your default computer)
</code></pre>
<p dir="auto">It would run your command with voice word "song" with a parameter that equals your <a href="https://developer.amazon.com/docs/custom-skills/slot-type-reference.html#musicrecording" rel="nofollow ugc">spoken song title</a>.</p>
<p dir="auto">For general purpose non-movie, non-song scenarios, I'm thinking this would be the pattern:</p>
<pre><code>Alexa, ask TRIGGERcmd to run X on Y with parameter Z
Alexa, ask TRIGGERcmd to run X with parameter Z  (runs on your default computer)
</code></pre>
<p dir="auto">What do you think?  If you can think of something better, let me know.  My first idea is often not the best.</p>
<p dir="auto">I'll wait until I get some feedback before making a change.</p>
<p dir="auto">Also, about two-word voice commands - it's supposed to work, but Alexa seems to recognize single-word commands much better.</p>
]]></description><link>https://www.triggercmd.com/forum/post/291</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/291</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Tue, 21 Nov 2017 13:42:54 GMT</pubDate></item></channel></rss>