• 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: Reading Apple Calendar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading Apple Calendar


  • Subject: Re: Reading Apple Calendar
  • From: Nigel Garvey <email@hidden>
  • Date: Sat, 07 Sep 2013 01:23:39 +0100

Stan Cleveland wrote on Fri, 06 Sep 2013 16:28:23 -0700:

>I believe that iCal generally follows the "iCalendar" standard defined
by
>the IETF (Internet Engineering Task Force) as RFC 2445, titled "Internet
>Calendaring and Scheduling Core Object Specification". Using RFC 2445,
for
>example, the string "FREQ=DAILY,BYMONTHDAY=13,BYDAY=FR" specifies every
>future instance of Friday the 13th. (There's one next week!) Via its UI,
>iCal would  disallow such a complex (and contradictory) rule. And I'm
not
>sure whether such a rule, inserted into an event via AppleScript, would
>actually function in iCal.

It would have to be a MONTHLY recurrence — and it works!

  tell application id "com.apple.iCal" -- Calendar or iCal.
    make new event at end of events of calendar 1 with properties {summary:"FRIDAY 13TH!", start date:(«data isot323031332D30392D3133» as date)}
    set recurrence of result to "FREQ=MONTHLY;INTERVAL=1;BYMONTHDAY=13;BYDAY=FR"
  end tell


NG

 _______________________________________________
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: Reading Apple Calendar
      • From: Stan Cleveland <email@hidden>
  • Prev by Date: Display email in Browser
  • Next by Date: Re: Reading Apple Calendar
  • Previous by thread: Re: Reading Apple Calendar
  • Next by thread: Re: Reading Apple Calendar
  • Index(es):
    • Date
    • Thread