• 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: Recurring Reminders/Calendar Events?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Recurring Reminders/Calendar Events?
      • From: Shane Stanley <email@hidden>
  • Prev by Date: delay doesn't work when applet is not frontmost
  • Next by Date: Re: delay doesn't work when applet is not frontmost
  • Previous by thread: Re: delay doesn't work when applet is not frontmost
  • Next by thread: Re: Recurring Reminders/Calendar Events?
  • Index(es):
    • Date
    • Thread