3
« on: June 14, 2017, 10:47:04 PM »
Kida a noob here so I am still learning stuff but I am using Vox To send commands to my echo I have a command that runs a CMD process then reads and speaks a text file the only way I could get it to read the text file was if I disabled TTS.GetLastText and Results.SetVar in the EchotoVC event most of the time it works fine sometimes the command gets stuck and only tells me what was last spoken
<?xml version="1.0" encoding="utf-8"?>
<!--C:\Users\Aaron\Desktop\VcGroup_Plex.xml-->
<!--This commandGroup xml file was exported from VoxCommando-->
<VoiceCommands version="2.2.3.5">
<commandGroup open="True" name="Plex" enabled="True" prefix="" priority="0" requiredProcess="" description="">
<command id="750" name="TV Shows" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>Launch.CMD</cmdType>
<params>
<param>Powershell C:\Users\Aaron\Alexa\Plex\TV_Show.ps1 > C:\Users\Aaron\Alexa\Plex\Output.txt</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>VC.Pause</cmdType>
<params>
<param>500</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>File.Read</cmdType>
<params>
<param>C:\Users\Aaron\Alexa\Plex\Output.txt</param>
<param>0</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>{LastResult}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<phrase>When did this Episode Air</phrase>
</command>
</commandGroup>
</VoiceCommands>