Re: due dates, reminders, & AppleScript
Re: due dates, reminders, & AppleScript
- Subject: Re: due dates, reminders, & AppleScript
- From: Shane Stanley <email@hidden>
- Date: Mon, 08 Dec 2014 22:13:45 +1100
On 8 Dec 2014, at 7:57 pm, Takaaki Naganoya <email@hidden> wrote:
>
> This script is great! But makes error -1708 in OS X 10.10.1 environment.
> Something wrong with me?
No, I'm getting the same problem. The line:
set theReminder to eventStore's calendarItemWithIdentifier:theID
is returning missing value, for some reason, and that causes the error on the following line.
But curiously, changing the 1 to a 2 in:
set eventStore to current application's EKEventStore's alloc()'s initWithAccessToEntityTypes:2
gets it working again. I don't pretend to know why -- as I read the documents, it should be 1. But any number greater than 1 seems to work.
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
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