Re: Events in iCal - how do you do recurrence?
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