Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: Calendar software? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
seekingdave
Newbie
Newbie
Avatar

Joined: October 29 2007
Location: United Kingdom
Online Status: Offline
Posts: 11
Posted: November 13 2007 at 17:08 | IP Logged Quote seekingdave

Hi,
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 View seekingdave's Profile Search for other posts by seekingdave
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: November 13 2007 at 19:10 | IP Logged Quote TonyNo

Not quite what you are asking for, but I have seen people use Google Calendar for this...

Cocoontech Discussion
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
seekingdave
Newbie
Newbie
Avatar

Joined: October 29 2007
Location: United Kingdom
Online Status: Offline
Posts: 11
Posted: November 14 2007 at 11:37 | IP Logged Quote seekingdave

Hi Tony

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 View seekingdave's Profile Search for other posts by seekingdave
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: November 14 2007 at 14:18 | IP Logged Quote TonyNo

You should be able to use my weather warning macro (which reads a feed) as a starting point.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
seekingdave
Newbie
Newbie
Avatar

Joined: October 29 2007
Location: United Kingdom
Online Status: Offline
Posts: 11
Posted: November 14 2007 at 14:27 | IP Logged Quote seekingdave

Hi Tony,

thanks for the quick reply, would you have a link to the macro please.

Cheers
Dave
Back to Top View seekingdave's Profile Search for other posts by seekingdave
 
seekingdave
Newbie
Newbie
Avatar

Joined: October 29 2007
Location: United Kingdom
Online Status: Offline
Posts: 11
Posted: November 14 2007 at 15:57 | IP Logged Quote seekingdave

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.

Any help would be great

Cheers
Dave
Back to Top View seekingdave's Profile Search for other posts by seekingdave
 
onhiatus
Senior Member
Senior Member
Avatar

Joined: May 12 2004
Location: United States
Online Status: Offline
Posts: 279
Posted: November 14 2007 at 20:39 | IP Logged Quote onhiatus

I think Tony is refering to this post in the script depository: Weather Warnings - 1003

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 View onhiatus's Profile Search for other posts by onhiatus Visit onhiatus's Homepage
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: November 14 2007 at 21:30 | IP Logged Quote TonyNo

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!
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
seekingdave
Newbie
Newbie
Avatar

Joined: October 29 2007
Location: United Kingdom
Online Status: Offline
Posts: 11
Posted: November 14 2007 at 22:23 | IP Logged Quote seekingdave

FANTASTIC
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 View seekingdave's Profile Search for other posts by seekingdave
 
onhiatus
Senior Member
Senior Member
Avatar

Joined: May 12 2004
Location: United States
Online Status: Offline
Posts: 279
Posted: November 15 2007 at 14:37 | IP Logged Quote onhiatus

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)

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 View onhiatus's Profile Search for other posts by onhiatus Visit onhiatus's Homepage
 
onhiatus
Senior Member
Senior Member
Avatar

Joined: May 12 2004
Location: United States
Online Status: Offline
Posts: 279
Posted: November 15 2007 at 16:27 | IP Logged Quote onhiatus

For reference, here is the help output from CalXDays.exe:


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 View onhiatus's Profile Search for other posts by onhiatus Visit onhiatus's Homepage
 
eHomeCreations
Groupie
Groupie


Joined: February 02 2007
Location: Ukraine
Online Status: Offline
Posts: 64
Posted: November 15 2007 at 16:47 | IP Logged Quote eHomeCreations

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 View eHomeCreations's Profile Search for other posts by eHomeCreations Visit eHomeCreations's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum