<?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[Tasker text to be read by Alexa]]></title><description><![CDATA[<p dir="auto">Hi all</p>
<p dir="auto">is there a way to send a text via tasker to be read aloud by alexa</p>
<p dir="auto">i have seen examples of using parameters which can be read by alexa but cant figure it out</p>
<p dir="auto">thanks</p>
]]></description><link>https://www.triggercmd.com/forum/topic/2603/tasker-text-to-be-read-by-alexa</link><generator>RSS for Node</generator><lastBuildDate>Sat, 07 Mar 2026 21:33:35 GMT</lastBuildDate><atom:link href="https://www.triggercmd.com/forum/topic/2603.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 21 May 2023 10:19:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Tasker text to be read by Alexa on Fri, 26 May 2023 15:29:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/18237">@Red-Sufi</a> awesome. Good job.</p>
]]></description><link>https://www.triggercmd.com/forum/post/7042</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/7042</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Fri, 26 May 2023 15:29:19 GMT</pubDate></item><item><title><![CDATA[Reply to Tasker text to be read by Alexa on Fri, 26 May 2023 10:31:03 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><br />
ive finally got this to work with your help</p>
<p dir="auto">i didnt know how to implement tasker_write_text.bat but used a combination of autoremote,tasker and eventghost to create the text file</p>
<p dir="auto">many thanks for your help and patience</p>
]]></description><link>https://www.triggercmd.com/forum/post/7040</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/7040</guid><dc:creator><![CDATA[Red Sufi]]></dc:creator><pubDate>Fri, 26 May 2023 10:31:03 GMT</pubDate></item><item><title><![CDATA[Reply to Tasker text to be read by Alexa on Fri, 26 May 2023 01:26:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/18237">@Red-Sufi</a>, I think you probably have those Alexa skills activated, but you're not actually using them.  To use one of them, you would need to say one of these (because your voice field has "trigger command" in it:</p>
<p dir="auto"><em>Alexa, ask TRIGGERcmd to run trigger command</em><br />
<em>Alexa, ask Trigger Command to run trigger command</em><br />
<em>Alexa, ask TC to run trigger command</em></p>
<p dir="auto">That will run your command, and Alexa will wait a few seconds for a "result" because you have {{result}} in the Voice Reply field.</p>
<p dir="auto">I figure you should make sure the above works first, to prove the concept, but I know your final goal is to have Alexa say the words from Tasker, so you could have command #1 run this Windows batch file script:</p>
<p dir="auto"><strong>tasker_write_text.bat</strong></p>
<pre><code>echo %1 %2 %3 %4 %5 %6 &gt; %TEMP%\tasker_text.txt
</code></pre>
<p dir="auto">And have command #2 run this Windows batch file script:</p>
<p dir="auto"><strong>alexa_read_text.bat</strong></p>
<pre><code>@echo off

set FILE=%TEMP%\tasker_text.txt
set /p TEXT=&lt;%FILE%

echo Running SendResult.bat with parameter(s): %TEXT%

"%USERPROFILE%\.TRIGGERcmdData\SendResult.bat" %TEXT%
</code></pre>
<p dir="auto">Let me know if you need a screenshot of the Alexa Routine for step #3.</p>
]]></description><link>https://www.triggercmd.com/forum/post/7039</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/7039</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Fri, 26 May 2023 01:26:52 GMT</pubDate></item><item><title><![CDATA[Reply to Tasker text to be read by Alexa on Thu, 25 May 2023 20:17:22 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> thanks</p>
<p dir="auto">funny thing is i did try that</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1685045784649-b6af14c1-3a36-4e34-8a88-c14b3c2c89d8-image.png" alt="b6af14c1-3a36-4e34-8a88-c14b3c2c89d8-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">i tried remove params and made no difference and i tried using TRIGGERcmd, TC, and Trigger Command Alexa skill, and none of them worked</p>
]]></description><link>https://www.triggercmd.com/forum/post/7038</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/7038</guid><dc:creator><![CDATA[Red Sufi]]></dc:creator><pubDate>Thu, 25 May 2023 20:17:22 GMT</pubDate></item><item><title><![CDATA[Reply to Tasker text to be read by Alexa on Thu, 25 May 2023 19:55:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/18237">@Red-Sufi</a>, you got Result: readmealexa.</p>
<p dir="auto">Now, to have Alexa say, "The result was readmealexa," put this in your command's <strong>Voice Reply</strong> field, and use the TRIGGERcmd, TC, or Trigger Command Alexa skill (not TRIGGERcmd Smart Home).</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1685044312121-57650a32-cabd-48f1-b17e-98fe54d7faf2-image.png" alt="57650a32-cabd-48f1-b17e-98fe54d7faf2-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://www.triggercmd.com/forum/post/7037</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/7037</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Thu, 25 May 2023 19:55:39 GMT</pubDate></item><item><title><![CDATA[Reply to Tasker text to be read by Alexa on Thu, 25 May 2023 08:51:26 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> thanks again</p>
<p dir="auto">im making progess but still having problems with Alexa saying the replies</p>
<p dir="auto">i think im having the same issues reported here</p>
<p dir="auto"><a href="https://www.triggercmd.com/forum/topic/1013/alexa-not-saying-voice-reply/4">https://www.triggercmd.com/forum/topic/1013/alexa-not-saying-voice-reply/4</a></p>
<p dir="auto">you can see in the screenshot below that my command did successfully run with the result but its not read by alexa</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1685004430686-66494091-206a-40f1-a757-6527726b3171-inshot_20230524_192121072.jpg" alt="66494091-206a-40f1-a757-6527726b3171-InShot_20230524_192121072.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">i had both the original skill <a href="https://www.amazon.co.uk/gp/product/B06XFN2TZN" rel="nofollow ugc">https://www.amazon.co.uk/gp/product/B06XFN2TZN</a></p>
<p dir="auto">and the smart home skill linked</p>
<p dir="auto">i tried just using the original skill and it would still run but again Alexa would not read it</p>
<p dir="auto">any ideas?</p>
]]></description><link>https://www.triggercmd.com/forum/post/7035</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/7035</guid><dc:creator><![CDATA[Red Sufi]]></dc:creator><pubDate>Thu, 25 May 2023 08:51:26 GMT</pubDate></item><item><title><![CDATA[Reply to Tasker text to be read by Alexa on Wed, 24 May 2023 02:00:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/18237">@Red-Sufi</a>, this is the SendResult.bat file on Windows:</p>
<pre><code>if "%~1"=="" goto noparams
goto yesparams

:noparams
echo "You need to specify the command result as a quoted sentence like this:"
echo SendResults.sh "This is the result of my command."
goto end

:yesparams
set /p TCMD_TOKEN=&lt;%USERPROFILE%\.TRIGGERcmdData\token.tkn
curl -X POST https://www.triggercmd.com/api/command/result -H "Authorization: Bearer %TCMD_TOKEN%" -H "content-type: multipart/form-data" -F computer_id=%TCMD_COMPUTER_ID% -F command_id=%TCMD_COMMAND_ID% -F result=%1 &gt;&gt; %USERPROFILE%\.TRIGGERcmdData\results.log

:end: 
</code></pre>
<p dir="auto">You can see it uses the <strong>curl</strong> command which does not come with Windows by default.  You can install it from <a href="http://www.confusedbycode.com/curl/#downloads" rel="nofollow ugc">here</a>.  You don't need the <a href="https://www.triggercmd.com/forum/topic/196/tcmd-go-command-line-tool-is-available-now">tcmd.exe</a> program.</p>
<p dir="auto">You could use the full path to SendResult.bat, including your redsufi username, or you could use the USERPROFILE environment variable like this:</p>
<p dir="auto"><em>"%USERPROFILE%\.TRIGGERcmdData\SendResult.bat"</em></p>
<p dir="auto">Yes, if you want Alexa to say the text (example: Your Text) you sent from Tasker via TRIGGERcmd command parameters (and wrote to a text file), you need to read that text file in command #2 and run SendResult with that text, like this:</p>
<p dir="auto"><em>"%USERPROFILE%\.TRIGGERcmdData\SendResult.bat" "Your Text"</em></p>
]]></description><link>https://www.triggercmd.com/forum/post/7032</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/7032</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Wed, 24 May 2023 02:00:47 GMT</pubDate></item><item><title><![CDATA[Reply to Tasker text to be read by Alexa on Tue, 23 May 2023 11:32:17 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> thanks im having a look at these</p>
<p dir="auto">i tried running the When did i last reboot command from examples and nothing happened. Is that because i do not have tcmd command line tool installed?</p>
<p dir="auto">does the script just need my profile name replaced such as follows</p>
<p dir="auto">redsufi.TRIGGERcmdData\SendResult.bat Your Text</p>
<p dir="auto">do i need to replace the bit Your Text with a variable name from part 1 ?</p>
<p dir="auto">sorry for the noob questions</p>
<p dir="auto">thanks</p>
]]></description><link>https://www.triggercmd.com/forum/post/7031</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/7031</guid><dc:creator><![CDATA[Red Sufi]]></dc:creator><pubDate>Tue, 23 May 2023 11:32:17 GMT</pubDate></item><item><title><![CDATA[Reply to Tasker text to be read by Alexa on Tue, 23 May 2023 12:40:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/18237">@Red-Sufi</a>, these are the high-level steps:</p>
<ol>
<li>
<p dir="auto">Create a command that you run via Tasker that writes Your Text to a text file on your computer.  Give it a voice word, like "tasker".</p>
</li>
<li>
<p dir="auto">Create a command that runs a script that reads Your Text from the text file and runs <strong>%USERPROFILE%\.TRIGGERcmdData\SendResult.bat Your Text</strong><br />
Give it a voice word, like "speak", and put {{result}} in the Voice Reply field.</p>
</li>
<li>
<p dir="auto">Create an Alexa routine that runs when command #1 runs.  The routine should run command #2 via a "Custom" action that says, "Alexa, ask TRIGGER C M D to run speak".</p>
</li>
</ol>
<p dir="auto">For step #3 you'll need to enable the <a href="https://www.triggercmd.com/forum/topic/538/using-the-alexa-smart-home-skill-the-first-time">TRIGGERcmd Smart Home skill</a> so command #1 shows up in the list under <strong>When this happens</strong> - <strong>Smart Home</strong> in the routine configuration.</p>
<p dir="auto">For step #3 you'll also need to enable the <a href="https://www.amazon.com/gp/product/B06XFN2TZN" rel="nofollow ugc">TRIGGERcmd skill</a> for the custom action to work, and for the Voice Reply field to be used in the Alexa response.</p>
<p dir="auto">For reference, these articles might help:</p>
<p dir="auto"><a href="https://www.triggercmd.com/forum/topic/341/voice-reply-field-now-allows-placeholders-for-trigger-computer-and-params">https://www.triggercmd.com/forum/topic/341/voice-reply-field-now-allows-placeholders-for-trigger-computer-and-params</a></p>
<p dir="auto"><a href="https://www.triggercmd.com/forum/topic/1844/run-an-alexa-routine-when-a-command-runs">https://www.triggercmd.com/forum/topic/1844/run-an-alexa-routine-when-a-command-runs</a></p>
<p dir="auto"><a href="https://www.triggercmd.com/forum/topic/2046/have-alexa-say-result-of-long-running-process-like-chkdsk">https://www.triggercmd.com/forum/topic/2046/have-alexa-say-result-of-long-running-process-like-chkdsk</a></p>
]]></description><link>https://www.triggercmd.com/forum/post/7029</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/7029</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Tue, 23 May 2023 12:40:46 GMT</pubDate></item></channel></rss>