Author Topic: {Status} value discrepency  (Read 1777 times)

0 Members and 1 Guest are viewing this topic.

Haddood

  • $upporter
  • Hero Member
  • *****
  • Posts: 688
  • Karma: 22
    • View Profile
{Status} value discrepency
« on: August 25, 2014, 05:38:28 AM »
Hi James ..

just to bring to your attention that the {Status} value is reported with all small letters... while the VC.{Status} require sentence capitalization ...
storing status than applying it back again can not be implemented directly ...

Version 2.0.0.8

P.S. Chapeau for the implementation of loops ... VC rocks even more
When Voice command gets tough, use hand gestures

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: {Status} value discrepency
« Reply #1 on: August 25, 2014, 09:41:51 AM »
just to bring to your attention that the {Status} value is reported with all small letters...
Yes. This is correct and as intended. No change is required.

while the VC.{Status} require sentence capitalization ...
storing status than applying it back again can not be implemented directly ...
I don't understand what you mean.  If you are referring to the actions vc.on vc.off etc, they don't require capitalisation.  However, the action field does not perform variable replacement the way the parameters do, so vc.{anything} will not work.

Haddood

  • $upporter
  • Hero Member
  • *****
  • Posts: 688
  • Karma: 22
    • View Profile
Re: {Status} value discrepency
« Reply #2 on: August 25, 2014, 01:45:55 PM »
Yes. This is correct and as intended. No change is required.
I thought it might be intended ...

I don't understand what you mean.  If you are referring to the actions vc.on vc.off etc, they don't require capitalisation.  However, the action field does not perform variable replacement the way the parameters do, so vc.{anything} will not work.

My mistake I got confused between the Actions and events ... (I Did not Have Vc.On event defined so nothing happened) ...

I have this command and I use it with triggerevent!!

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.0.0.8-->
<command id="401" name="Retrive Status" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>Map.Get</cmdType>
    <params>
      <param>Variables</param>
      <param>PreviousStatus</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>VC.TriggerEvent</cmdType>
    <params>
      <param>VC.{LastResult}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <event>Status.Retrive</event>
</command>
When Voice command gets tough, use hand gestures

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: {Status} value discrepency
« Reply #3 on: August 25, 2014, 01:48:52 PM »
OK.  I don't understand what you are trying to do.

So... Is everything working OK for you now?