Re: Excluded Dates in iCal Events
Re: Excluded Dates in iCal Events
- Subject: Re: Excluded Dates in iCal Events
- From: The Server Surfer <email@hidden>
- Date: Mon, 14 Feb 2005 15:32:54 -0600
Anyone?
On Feb 11, 2005, at 12.55, The Server Surfer wrote:
I'm writing a script that collects all of the Events in a certain date
range that have a common Summary, but I wasn't finding all of the
Events I was expecting to find. It turned out that the recurring
Events that recurred during said date range weren't being shown, as
those Events are only considered to exist on the "origin" date, so as
a result, I was only seeing the recurrences that had been detached.
So now I am examining all of the Events that occur before the range
I'm actually interested in, and checking to see if they have a
recurrence that intersects said range. My current problem is
determining which recurrences have been detached. For example, I have
a weekly event that began on Feb 4, 2005. When that event took place
on the 9th, I had to start an hour late, so I detached the recurrence
by rescheduling it. The trouble is, if I "multiply out" the original
Recurring Event I will show an event taking place at the original time
on the 9th, even though that event shouldn't "exist" because now we
have a discrete entry for the reschedule, effectively duping the
event.
So this is where the Excluded Dates property comes in to play, right?
As I understand it, Excluded Dates should be a list of Dates that I
should skip when multiplying out the recurrences of an Event. Simple
enough, but I can't seem to figure out how to work with the Excluded
Dates property. Like I said, I assumed it was a list of Dates, and
the iCal dictionary describes it as a Date, but I can't seem to get it
to behave as either, or figure out what it actually is.
So does anyone know how to read the Excluded Dates property and coerce
whatever is in there in to a list of recurrences to ignore?
Love,
The Server Surfer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden