• 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: Takaaki Naganoya <email@hidden>
  • Date: Mon, 08 Dec 2014 20:56:06 +0900

Thanks, Shane!
It works.

> 2014/12/08 20:13、Shane Stanley <email@hidden> のメール:
>
> 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

--
Takaaki Naganoya
email@hidden
http://piyocast.com/as/




 _______________________________________________
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


References: 
 >Re: due dates, reminders, & AppleScript (From: Takaaki Naganoya <email@hidden>)
 >Re: due dates, reminders, & AppleScript (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: due dates, reminders, & AppleScript
  • Next by Date: Can one get physical location via Applescript?
  • Previous by thread: Re: due dates, reminders, & AppleScript
  • Next by thread: Can one get physical location via Applescript?
  • Index(es):
    • Date
    • Thread