• 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
Re: iCal Recurring events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iCal Recurring events


  • Subject: Re: iCal Recurring events
  • From: "Nigel Garvey" <email@hidden>
  • Date: Thu, 3 Dec 2009 21:23:42 +0000

Gil Dawson wrote on Wed, 2 Dec 2009 12:20:29 -0800:

>Re: Mac OS X 10.4.11 (Tiger); iCal Version 2.0.5 (1069)
>
>I'd like for my script to visit every event in a calendar for a time
>period. The following script misses recurring events whose first
>occurrence's start time is before the time period:

>I looked at RFC 2445 Section 4.8.5 to see what the recurrence strings
>look like. Hoo Boy! Writing that code (and testing it!) would indeed
>be extremely complex and tedious.
>
>Has anyone scripted this? (Kudos if so!)
>
>Or, perhaps, is there some model code somewhere that we could adapt?

My own effort returns the details of the next recurrence (or occurrence)
of a given event (identified by UID) after a given date/time. You're
welcome to fool around with it.

<http://macscripter.net/viewtopic.php?id=29516>

There's some sample calling code in a comment at the end of the script.

NG

 _______________________________________________
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/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Do shell script vs terminal discrepancy
  • Next by Date: Re: Do shell script vs terminal discrepancy
  • Previous by thread: Re: do shell script flaw
  • Next by thread: [ann] py-appscript 0.21.0
  • Index(es):
    • Date
    • Thread