Author Topic: Setting up a "reminders" in ggcal  (Read 1274 times)

0 Members and 1 Guest are viewing this topic.

keithj69

  • $upporter
  • Sr. Member
  • *****
  • Posts: 113
  • Karma: 7
    • View Profile
Setting up a "reminders" in ggcal
« 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>

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2009
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Setting up a "reminders" in ggcal
« Reply #1 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. :)
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

keithj69

  • $upporter
  • Sr. Member
  • *****
  • Posts: 113
  • Karma: 7
    • View Profile
Re: Setting up a "reminders" in ggcal
« Reply #2 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. 

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2009
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Setting up a "reminders" in ggcal
« Reply #3 on: June 11, 2014, 02:16:19 PM »
No worries. We all have those moments. So many things to keep track of in VC.
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)