VoxCommando

Help and Support (Using VoxCommando) => Other Plugins => Topic started by: keithj69 on June 11, 2014, 12:38:34 PM

Title: Setting up a "reminders" in ggcal
Post by: keithj69 on June 11, 2014, 12:38:34 PM
I am setting up a reminder for myself.   Right now how it works is if an event comes in from a calendar containing the word reminder it reads the output form payload 1.  In the title I can put in "reminder walk the cat"  and it reads it just fine.   What i would like to do is have it trigger if payload one sees reminder and then read the description (payload 3).
I am sure this is possible, but i am not seeing how.  

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 1.9.5.5-->
<command id="558" name="reminder" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <if ifBlockDisabled="False" ifNot="False">
    <ifType>(A)Contains(B)</ifType>
    <ifParams>{1}&amp;&amp;reminder</ifParams>
    <then>
      <action>
        <cmdType>TTS.Speak</cmdType>
        <params>
          <param>{1}</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </then>
    <else />
  </if>
  <event>ggCal.Event.calendar name here</event>
</command>
Title: Re: Setting up a "reminders" in ggcal
Post by: nime5ter on June 11, 2014, 01:32:29 PM
Sorry if I'm not understanding correctly:

If everything is working except you want it to read the description instead of the calendar event title, can you not just change the TTS.Speak line to {3} instead of {1}?

Everything else would remain the same, including the if condition AcontainsB {1} --> reminder.

... I'm assuming that in your Google calendar you've actually entered description info. :)
Title: Re: Setting up a "reminders" in ggcal
Post by: keithj69 on June 11, 2014, 02:00:54 PM
crud. Not having a good day... when i tried this earlier it didn't work.  Seems i had the group disabled when testing.  DUH!  I will limit my testing to only one machine. 
Title: Re: Setting up a "reminders" in ggcal
Post by: nime5ter on June 11, 2014, 02:16:19 PM
No worries. We all have those moments. So many things to keep track of in VC.