VoxCommando

Help and Support (Using VoxCommando) => Bug Reports => Topic started by: Haddood on August 25, 2014, 05:38:28 AM

Title: {Status} value discrepency
Post by: Haddood 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
Title: Re: {Status} value discrepency
Post by: jitterjames 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.
Title: Re: {Status} value discrepency
Post by: Haddood 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>
Title: Re: {Status} value discrepency
Post by: jitterjames 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?