• 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: Events in iCal - how do you do recurrence?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Events in iCal - how do you do recurrence?


  • Subject: Re: Events in iCal - how do you do recurrence?
  • From: Paul Berkowitz <email@hidden>
  • Date: Tue, 01 Mar 2005 18:36:47 -0800

On 3/1/05 3:46 PM, "Martin Orpen" <email@hidden> wrote:

> I've been working on a script that adds an event to remote Macs. It works as
> expected until I try repeating events.
>
> My original event gives me this: recurrence:":FREQ=YEARLY;INTERVAL=1", but
> when sending it to the remote Mac I just get a normal non-recurring event
> and no error message. (You also get an all day event that ends up over two
> days - but I've solved that one).
>
> I must be missing some parameter as I know I can copy the identical whole
> event on the same version of iCal - but that won't work using "eppc://" :-(

It's a stupid bug that the recurrence string which iCal returns begins with
that colon ":". When you _set_ the recurrence, just remove that colon first
and it will work. I.e.

    if theRecurrence starts with ":" then set theRecurrence to text 2 thru
-1 of theRecurrence
    set recurrence of theEvent to theRecurrence

(or use recurrence:theRecurrence when creating the event with properties).

--
Paul Berkowitz


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Events in iCal - how do you do recurrence?
      • From: Martin Orpen <email@hidden>
References: 
 >Events in iCal - how do you do recurrence? (From: Martin Orpen <email@hidden>)

  • Prev by Date: Re: going from eudora to Mail
  • Next by Date: Auto Mount Server with Apple Script (Beginner Here)
  • Previous by thread: Events in iCal - how do you do recurrence?
  • Next by thread: Re: Events in iCal - how do you do recurrence?
  • Index(es):
    • Date
    • Thread