News:

HOT TIP! Exploring the commands packaged in VC's standard configurations is a great way to learn how to build your own. You can also clone a command as a starting point: just right-click and select "Clone" (or type Alt-C).

Main Menu

Setting up a "reminders" in ggcal

Started by keithj69, June 11, 2014, 12:38:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

keithj69

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.  

<?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

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

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

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)