Re:Re: Accessing iCal messages - HELP!
Re:Re: Accessing iCal messages - HELP!
- Subject: Re:Re: Accessing iCal messages - HELP!
- From: Jeff Brown <email@hidden>
- Date: Tue, 16 Jan 2007 03:55:40 -0800 (PST)
Fantastic! Thanks.
Also I'll need to be able to drag an attendee from my
software and drop it on an iCal event (like you can do
with Address Book). Any ideas how I can do that? I
know Address Book uses VCard but have no idea how to
create it within a custom app.
Cheers
Jeff
>You will need to keep a record of the date and time
(current date) >each time
>you access iCal, retain it as lastSync, and the next
time get
>
> every event of calendar i whose modification date
> lastSync
>
>cycling through every calendar i from 1 to (count
calendars). That will >give you every new and modified
event since the last sync. What it >won't give you is
which events have been deleted. Probably the best >way
to do that is to keep a record of the uid property of
every event, >and then get the uid of every event the
next time and see which have >disappeared. It's
absurdly slow to do that by standard AppleScript -
>you will probably want to 'do shell script' using
Perl or Python to do >the comparison.
>> I'm planning on writing contact software (in either
>> Applescript or XCode) that will need to use a
>> calendar. iCal is the obvious choice since it is
>> Applescript(able). But my software will need to
know
>> when iCal deletes, creates or changes a calendar
>> event, calendar or To Do.
>> Does anyone know how I can access the messages sent
by
>> these iCal events and capture them with my software
OR
>> who I should ask to find out.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden