Re: Recurring Reminders/Calendar Events?
Re: Recurring Reminders/Calendar Events?
- Subject: Re: Recurring Reminders/Calendar Events?
- From: Christopher Nebel <email@hidden>
- Date: Wed, 04 Mar 2015 16:17:27 -0800
> On Feb 26, 2015, at 6:04 AM, Alex Hall <email@hidden> wrote:
>
> Hello list,
> A year or so ago I was searching for a way to access recurring events in Calendar/Reminders through Applescript. I couldn't, since events would be returned only if the original date was asked for. A recurring event on every Wednesday, for instance, would not be seen by any AS method asking for events for next week, since the event would *recur* next week, but was created in the past.
>
> My question is: given the use of ObjC, and the updates to AS itself, in the Mavericks and Yosemite releases, is this now possible? Secondarily, can it be done without launching Calendar/Reminders? That's not a big deal, but it would be nice.
Calendar scripting won’t do this for you, but if you don’t mind using AppleScriptObjC, check out EventKit. I’m pretty sure -[EKEventStore eventsMatchingPredicate:] will return occurrences of recurring events in the specified date range.
--Chris Nebel
AppleScript Engineering
_______________________________________________
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