• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Excluded Dates in iCal Events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Excluded Dates in iCal Events


  • Subject: Excluded Dates in iCal Events
  • From: The Server Surfer <email@hidden>
  • Date: Fri, 11 Feb 2005 12:55:06 -0600

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


  • Follow-Ups:
    • Re: Excluded Dates in iCal Events
      • From: The Server Surfer <email@hidden>
    • Re: Excluded Dates in iCal Events
      • From: The Server Surfer <email@hidden>
  • Prev by Date: Re: Offset in list
  • Next by Date: Re: Offset in list
  • Previous by thread: Re: Quoting
  • Next by thread: Re: Excluded Dates in iCal Events
  • Index(es):
    • Date
    • Thread