Paul
Thu Aug 05 00:27:31 CDT 2004
Although you can extract all the data from Entourage, there are lots of bugs
to beware of in iCal, and a few in Entourage.
In particular, all day event start and end times are completely screwed up
in iCal. Making an all-day event puts the start time, initially, at your
local time zone's equivalent of whenever midnight would be in Greenwich Mean
Time! Compounding that error is another in that iCal tries to fix that
non-midnight time (e.g. 5 pm the preceding day if you're in PDT) by pushing
it back to midnight of this (incorrect) day. Then a THIRD error comes into
play in that it translates that time too from GMT. So you end up with an
event that looks in iCal; as if it starts two days too early. Only it's not
two _full_ days, so things get screwier - it doesn't look like an all-day
event at all but like a regular event. The wend time does not always behave
the same way as the start time: it's usually midnight of the correct day.
Things are made worse by having to know whether the date is in standard or
in daylight savings time to know how far out from GMT it is - it may be
different than the current day when the script runs.
Had enough? ;-) That's the worst one, but there's lots more like this. I
really can't recommend wading into these waters unless you're an expert and
are prepared to to find workarounds. iCal and Entourage don't do recurring
events exactly the same way, and there's another bug with the recurrence
string in iCal. Alarms are done totally differently from Entourage reminders
(which have their own bugs). The script you quote gets Entourage categories,
but iCal doesn't have categories - you have to decide whether you want a
separate calendar for each Entourage category, and the structure is the
other way around. (The events belong to calendars in iCal, whereas the
categories belong to events in Entourage.)
This could take you a little while... It took me several months.
--
Paul Berkowitz
MVP MacOffice
Entourage FAQ Page: <
http://www.entourage.mvps.org/faq/index.html>
AppleScripts for Entourage: <
http://macscripter.net/scriptbuilders/>
Please "Reply To Newsgroup" to reply to this message. Emails will be
ignored.
PLEASE always state which version of Microsoft Office you are using -
**2004**, X or 2001. It's often impossible to answer your questions
otherwise.
> From: Steven Day <news@stevenday.us>
> Newsgroups: microsoft.public.mac.office.entourage
> Date: Wed, 04 Aug 2004 22:22:01 -0600
> Subject: Re: Script for Entourage event, note, task to iCal?
>
> Thanks Brett. Basically, I would like to have the message body go into an
> event, which could then be edited. That's the way it works for both
> Entourage>Calendar Event, and Mail2iCal. Then from within Calendar or iCal,
> the event content can be further edited.
>
> Here's the script from MS for Entourage, if that helps. Mail2iCal is below:
>
> (*
> Create Event from Message
>
> Copyright (c) Microsoft Corporation. All rights reserved.
> *)
>
<snip scripts>
> On 8/4/04 21:54, in article BD3719AD.17E0%b.zamir@comcast.net, "Brett Zamir"
> <b.zamir@comcast.net> wrote:
>
>> Sure. What data did you want to extract from the email to go into the event?
>> (exactly what fields)
>>
>> Brett
>>
>>
>> On 8/4/04 10:16 PM, in article BD3702A9.66AC%news@stevenday.us, "Steven Day"
>> <news@stevenday.us> wrote:
>>
>>> Thanks Brett. This is good to know, though it's beyond my ken.
>>>
>>>
>>> On 8/4/04 14:54, in article BD36B71D.17C8%b.zamir@comcast.net, "Brett Zamir"
>>> <b.zamir@comcast.net> wrote:
>>>
>>>> It looks like it should be possible since iCal's dictionary shows quite a
>>>> bit under the iCal suite (under class "event"). You'd have to parse the
>>>> email then and find the dates or whatever you wanted to extract in creating
>>>> your event.
>>>>
>>>> Brett
>
>