Re: iCal Events Repeat Property
Re: iCal Events Repeat Property
- Subject: Re: iCal Events Repeat Property
- From: Paul Berkowitz <email@hidden>
- Date: Thu, 08 Apr 2004 21:58:43 -0700
On 4/8/04 6:55 PM, "Jason Bourque" <email@hidden> wrote:
>
I am trying to create a new event with a repeat property. What gives?
>
Dictionary says.
>
recurrence Unicode text -- The iCAL string describing the event recurrence,
>
if defined
>
>
For now the repeat is yearly.
>
>
>
my script
>
>
set vRecurrenceString to ":FREQ=YEARLY;INTERVAL=1"
>
>
set vNewEvent to make new event at end of events of vBirthdayCal ,
>
with properties {start date:vBirthday, end date:vBirthday,
>
recurrence:vRecurrenceString ,
>
, summary:vEventTitle, description:vEventTitle, allday event:true}
The ":" at the beginning of the recurrence string - when you _get_ one in
iCal - is a stupid bug. It's not part of the RFC protocol defining recrrence
strings. Leave it off when you _set_ an event and you'll be OK:
set vRecurrenceString to "FREQ=YEARLY;INTERVAL=1"
And just wait until you come to deal with all day events. iCal has the all
out stupidest date bugs I've ever seen - much worse than Address Book had in
Jaguar (fixed in Panther). They're justy unbelievable - obviously never
tested by the people who implemented them.
--
Paul Berkowitz
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.