• 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: due dates, reminders, & AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: due dates, reminders, & AppleScript
      • From: Takaaki Naganoya <email@hidden>
References: 
 >Re: due dates, reminders, & AppleScript (From: Takaaki Naganoya <email@hidden>)

  • Prev by Date: Re: building an AppleScript editor app
  • Next by Date: Re: due dates, reminders, & AppleScript
  • Previous by thread: Re: due dates, reminders, & AppleScript
  • Next by thread: Re: due dates, reminders, & AppleScript
  • Index(es):
    • Date
    • Thread