[Pythonmac-SIG] scripting iCal (original) (raw)
David Reed dreedmac at columbus.rr.com
Mon Nov 29 02:59:46 CET 2004
- Previous message: [Pythonmac-SIG] scripting iCal
- Next message: [Pythonmac-SIG] scripting iCal
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I really don't care how it is done - I'm just looking to modify/write something in Python that will get all the events on the current date (including recurring events for that day) and have it email me. Your iCalendar.py script is close, but it doesn't seem to handle recurring events.
I don't have a Mac at work so I want to have a cron job email me my calendar for the day each morning.
Thanks, Dave
On Nov 28, 2004, at 8:25 PM, Jonathan Wight wrote:
If you don't want to use AppleScript I have code that reads the iCal data files directly at http://toxicsoftware.com/blog/index.php/weblog/icaltorss/
Cheers. Jon. On Nov 28, 2004, at 19:03, David Reed wrote:
I've ran across this: http://stompstompstomp.com/weblog/technical/2004-02-05 and got the examples in it to work fine. I'm now trying to write a script to just grab the events for the current date. I could pull all the events and check their start date, but figure there is probably an easier way. The applescript documentation includes: Class calendar: This class represents a calendar Plural form: calendars Elements: event by numeric index, before/after another element, as a range of elements, satisfying a test todo by numeric index, before/after another element, as a range of elements, satisfying a test
but it's not clear to me how to grave events that "satisfy a test". Can anyone help or point me to documentation on this? Thanks, Dave
Pythonmac-SIG maillist - Pythonmac-SIG at python.org http://mail.python.org/mailman/listinfo/pythonmac-sig
- Previous message: [Pythonmac-SIG] scripting iCal
- Next message: [Pythonmac-SIG] scripting iCal
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]