| Author |  | 
      
        | seekingdave Newbie
 
  
  
 Joined: October 29 2007
 Location: United Kingdom
 Online Status: Offline
 Posts: 11
 | 
          Hi,
           | Posted: November 13 2007 at 17:08 | IP Logged |   |  
           | 
 |  I am trying to find a calendar/to-do-list software that I can get data from to display alerts on the PH CC.
 
 Has anyone got any sugestions of a good piece of software to use for this purpose please
   
 Thanks
 Dave
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | TonyNo Moderator Group
 
  
  
 Joined: December 05 2001
 Location: United States
 Online Status: Offline
 Posts: 2889
 | 
          Not quite what you are asking for, but I have seen people use Google Calendar for this...
           | Posted: November 13 2007 at 19:10 | IP Logged |   |  
           | 
 |  
 Cocoontech Discussion
 | 
       
        | Back to Top |       | 
       
       
        |  | 
        | seekingdave Newbie
 
  
  
 Joined: October 29 2007
 Location: United Kingdom
 Online Status: Offline
 Posts: 11
 | 
          Hi Tony
           | Posted: November 14 2007 at 11:37 | IP Logged |   |  
           | 
 |  
 Thanks for the help, I have a Google Calendar and have set up a RRS feed to a reader on the PH server, is it possible to retrieve the feed and place it into a GV so that it can be displayed and then spoken?
 
 Cheers
 Dave
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | TonyNo Moderator Group
 
  
  
 Joined: December 05 2001
 Location: United States
 Online Status: Offline
 Posts: 2889
 | 
          You should be able to use my weather warning macro (which reads a feed) as a starting point.
           | Posted: November 14 2007 at 14:18 | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |       | 
       
       
        |  | 
        | seekingdave Newbie
 
  
  
 Joined: October 29 2007
 Location: United Kingdom
 Online Status: Offline
 Posts: 11
 | 
          Hi Tony,
           | Posted: November 14 2007 at 14:27 | IP Logged |   |  
           | 
 |  
 thanks for the quick reply, would you have a link to the macro please.
 
 Cheers
 Dave
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | seekingdave Newbie
 
  
  
 Joined: October 29 2007
 Location: United Kingdom
 Online Status: Offline
 Posts: 11
 | 
          Just another quick questions, I am trying to send a emailmessage with an attachment to a email address the code I am using is ph_sendemailfile("seekingdave@gmail.com, shopping, shopping list, C:\Program Files\powerhome\web\pim.htm") but it does not seem to be working comes up with a ! if I verify.
           | Posted: November 14 2007 at 15:57 | IP Logged |   |  
           | 
 |  
 Any help would be great
 
 Cheers
 Dave
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | onhiatus Senior Member
 
  
  
 Joined: May 12 2004
 Location: United States
 Online Status: Offline
 Posts: 279
 | 
          I think Tony is refering to this post in the script depository: Weather Warnings - 1003
           | Posted: November 14 2007 at 20:39 | IP Logged |   |  
           | 
 |  
 I've also written a fairly flexible vb app that dumps my Outlook calendar to a text file. I have it run via a PH timed event every night at midnight so that my schedule is current when I leave the house (Here's a somewhat dated screenshot).
 
 If there is interest I can post the vb project somewhere.
 
 -The other Tony
 | 
       
        | Back to Top |       | 
       
       
        |  | 
        | TonyNo Moderator Group
 
  
  
 Joined: December 05 2001
 Location: United States
 Online Status: Offline
 Posts: 2889
 | 
          Note that ph_sendemailfile uses an email client (i.e. Outlook Express).
           | Posted: November 14 2007 at 21:30 | IP Logged |   |  
           | 
 |  
 The command needs separate strings, not just one. Try this...
 
 ph_sendemailfile("seekingdave@gmail.com", "shopping", "shopping list", "C:\Program Files\powerhome\web\pim.htm")
 
 Thanks Tony!
   | 
       
        | Back to Top |       | 
       
       
        |  | 
        | seekingdave Newbie
 
  
  
 Joined: October 29 2007
 Location: United Kingdom
 Online Status: Offline
 Posts: 11
 | 
          FANTASTIC
           | Posted: November 14 2007 at 22:23 | IP Logged |   |  
           | 
 |    Thanks for that Tony, works a treat.
 
 onhiatus I checked out the screen shot and this looks awesome and just what I was looking for, if you could post the code (and instructions that are idiot proof
  ) that would be amazing!! 
 Thanks for all the help guys
 Cheers
 DAve
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | onhiatus Senior Member
 
  
  
 Joined: May 12 2004
 Location: United States
 Online Status: Offline
 Posts: 279
 | 
          Ok, here you go. You are probably going to need to install Microsoft .Net (actually you probably already have, but if it doesn't work try installing .Net 1.1 first). You will also need the  Microsoft Outlook View Control (PIA) - "Interop.Outlook.dll" (I tried to attach this but it zips to 109K and max upload file size is 100K)
           | Posted: November 15 2007 at 14:37 | IP Logged |   |  
           | 
 |  
 I use this with Outlook from Office XP, but it should work with other versions (I think 2003 and later) as well. Not sure about Outlook Express, but I would be very curious to find out!
 
 There are two files: CalXDays.exe (the app) and cal_icons.txt (maps icons to calendar items). Unzip all files to the same directory and copy Interop.Outlook.dll there as well.
 
 This is a command line app, running it with no param gives fairly complete help. At it's simplest it takes an absolute or relative date and the number of days you want.
 
 Absolute examples:
 CalXDays.exe -d20071224 1 - 2007 Christmas Eve's entries
 CalXDays.exe -d20080101 2 - 2008 Jan 1 and 2's entries
 
 Relative examples:
 CalXDays.exe -r0 1 - Show today's entries
 CalXDays.exe -r1 1 - Show tomorrow's entries
 CalXDays.exe -r1 2 - Show tomorrow and the next day
 
 Formatting: a formatting string can be specified that can result in the output being in almost any format you want.
 
 Known issues: The icon mapping does not seem to work - not sure why as it used to...
 
 Hope this is of some help - I've only ever run this on Windows XP machines with Office XP installed, so your milage may vary. Let me know.
 
 If there is more interest I could write more of a tutorial. It seems like this might make a good plug in, but I don't know when I would get to it...
 
 -Tony
 
 2007-11-15_143502_CalXDays.zip
 The complete Office XP PIA set (including Interop.Outlook.dll) can be downloaded from msft here:
 http://www.microsoft.com/downloads/details.aspx?familyid=C41 BD61E-3060-4F71-A6B4-01FEBA508E52&displaylang=en
 
 
 Edited by onhiatus - November 15 2007 at 16:08
 | 
       
        | Back to Top |       | 
       
       
        |  | 
        | onhiatus Senior Member
 
  
  
 Joined: May 12 2004
 Location: United States
 Online Status: Offline
 Posts: 279
 | 
          For reference, here is the help output from CalXDays.exe:
           | Posted: November 15 2007 at 16:27 | IP Logged |   |  
           | 
 |  
 
 CalXDays - (c) 2006 Tony Jones (www.onhiatus.com)
 
 Dumps outlook calendar items for a given date range.
 
 Usage:
 CalXDays -r<offset> [-f"<format>" -b"<daybreak>"> <Count>
 CalXDays -d<yyyymmdd> [-f"<format>" -b"<daybreak>"> <Count>
 
 Where:
 <Count> is the number of days to retrieve
 <offset> is a number specifying the offset from today (0 would be today)
 <format> is a string specifying entry format (see below)
 <daybreak> is an optional string to use between days (Default is CR)
 <yyyymmdd> is a eight digits specifying the year, month, and day
 
 Format string substitutions:
 ~~t~~ Replace with the entry time (xx:xx-yy:yy am)
 ~~T~~ Replace with time and a colon (xx:xx-yy:yy am:)
 Note times may evaluate to an empty string (eg all day events)
 ~~e~~ Replace with entry text
 ~~i~~ Replace with matching image (see cal_icon.dat)
 ~~x~~ Replace with day number (0 to <Count>-1)
 Defaults format string is: ~~T~~ ~~e~~
 
 Examples:
 CalXDays -r0 1         - gets today's entries
 CalXDays -s"+" -r1 1   - Gets entries for tomorrow, separated with +
 CalXDays -d20061215 1
 - Gets entries for Dec 15, 2006
 CalXDays -d20061215 -s"<br>" 1
 - Gets entries for 12/15/06, separated with <br>
 
 A missing option above is (although it is used in the examples):
 -s"<entrybreak>"
 Where <entrybreak> is an optional string to use between events (Default is CR)
 
 Here is the actual command I use to generate my daily calendar:
 calXDays.exe -r0 -f"~~T~~~~e~~<br>" -b"</span><span id='dataCal~~x~~'>" 10
 
 This returns the next ten days' schedules with each day in a series of html spans named dataCal0 ... dataCal9. Sample output (black text is static text I have to add to complete the html):
 
 C:\calXDays.exe -r0 -f"~~T~~~~e~~<br>" -b"</span><span id='dataCal~~x~~'>" 3
 
 <span id='dataCal0'>
 John Doe's Birthday<br>
 10:00-11:00 a.m.: Daily meeting 1<br>
 11:00-11:30 a.m.: Daily meeting 2<br>
 </span><span id='dataCal1'>
 10:00-11:00 a.m.: Daily meeting 1<br>
 11:00-11:30 a.m.: Daily Meeting 2<br>
 1:00-2:00 p.m.: Friday meeting<br>
 4:30 p.m.: Start and end time are the same<br>
 11:20- p.m.: Overnight event<br>
 </span><span id='dataCal2'>
 -7:00 a.m.: Overnight event<br>
 </span>
 
 
 Edited by onhiatus - November 16 2007 at 12:16
 | 
       
        | Back to Top |       | 
       
       
        |  | 
        | eHomeCreations Groupie
 
  
 
 Joined: February 02 2007
 Location: Ukraine
 Online Status: Offline
 Posts: 64
 | 
          
           | Posted: November 15 2007 at 16:47 | IP Logged |   |  
           | 
 |  
| TonyNo wrote: 
 
    
    | 
      
       | Note that ph_sendemailfile uses an email client (i.e. Outlook Express). 
 The command needs separate strings, not just one. Try this...
 
 ph_sendemailfile("seekingdave@gmail.com", "shopping", "shopping list", "C:\Program Files\powerhome\web\pim.htm")
 
 Thanks Tony!
  |  |  |  
 
 hhhhmmmm.
 
 Well, now that powerhome support is built into eHome i can send my calender emails....  hhhmmmm   thinking...
   
 
 
 
 Edited by eHomeCreations - November 15 2007 at 16:48
 
 __________________
 --Steve       http://www. ehomecreations.com
 | 
       
        | Back to Top |       | 
       
       
        |  |