VoxCommando Forum

Help and Support (Using VoxCommando) => Bug Reports => Topic started by: Kalle on December 05, 2014, 06:56:18 AM

Title: trigger more than one command which needs confirmation won't work
Post by: Kalle on December 05, 2014, 06:56:18 AM
VC2.1.2.5
Windows 7 Ultimate
SR: english US

I'm not sure if it is a bug or only not possible - here is what I have done:

I have create a command group which contains two confirm commands. The first command which needs confirmation is triggered with a VC.Tellvox action and works as normal, means - VC ask for a confirmation and the OSD showing up on the screen. After this, the next command is executed in the same way as before and VC does not ask for confirmation - the history window show me the gear symbol with "confirm yes:", but nothing happens.

Here is the Command Group. The command start with the  phrase "good night sarah". I've also attached the VoxLog.txt, maybe it is helpful to see what is wrong.

<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.2.5-->
<commandGroup open="True" name="TN42" enabled="True" prefix="" priority="0" requiredProcess="" description="">
  <command id="306" name="good night sarah" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>TTSMS.SpeakSync</cmdType>
      <params>
        <param>Do you wanna watch something before you go to sleep?</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>VC.TellVox</cmdType>
      <params>
        <param>watch TV</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <phrase>good night sarah</phrase>
  </command>
  <command id="307" name="watch TV" enabled="true" alwaysOn="False" confirm="True" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>EventGhost.Send</cmdType>
      <params>
        <param>Your command</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>VC.TriggerEvent</cmdType>
      <params>
        <param>no TV</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <phrase>watch TV</phrase>
  </command>
  <command id="319" name="question pree heat car" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>TTSMS.SpeakSync</cmdType>
      <params>
        <param>its cold outside, should I pree heat the car for you tomorrow?</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>VC.TellVox</cmdType>
      <params>
        <param>pree heat car</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <event>Confirm.Cancel.watch TV</event>
    <event>no TV</event>
  </command>
  <command id="398" name="pree heat car" enabled="true" alwaysOn="False" confirm="True" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>TTSMS.SpeakSync</cmdType>
      <params>
        <param>Ok, should i set a timer for you? If yes, please say for example: "set, pree heat car, to 30 minutes"</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <phrase>pree heat car</phrase>
  </command>
</commandGroup>
Title: Re: trigger more than one command which needs confirmation won't work
Post by: nime5ter on December 05, 2014, 09:00:09 AM
See:

http://voxcommando.com/forum/index.php?topic=1389.msg11988#msg11988

And http://voxcommando.com/mediawiki/index.php?title=Logical_Command_Builder#Command_Settings
Title: Re: trigger more than one command which needs confirmation won't work
Post by: Kalle on December 05, 2014, 09:15:05 AM
Ok, thanks nime.
Normaly I did not use more than one confirm command.  ;)