Re: iCal 1.5.1 scripting
Re: iCal 1.5.1 scripting
- Subject: Re: iCal 1.5.1 scripting
- From: "David A. Cox" <email@hidden>
- Date: Tue, 14 Oct 2003 13:16:50 -0700 (PDT)
This brings up a point that has messed me up with the new version.
I have a script that sucks an ical file out of my corperate shared cal.
and hands it off to a perl script to clean the file, and then opens the
fixed .ics file in iCal. It worked well enough in the last version. But
the new version barfs if I try to modify the ics file too much. Basicaly,
I can remove items, but I can't add items back in.
For example, I was replacing "END:VEVENT" with
"BEGIN:VALARM
TRIGGER:-PT15M
ACTION:DISPLAY
DESCRIPTION:Event reminder
END:VALARM
END:VEVENT"
In order to get alarms set on each message that is imported.
Does anyone have any insite or resources on what iCal can open as far as
ics files go? I can look at doing more of this in applescript, but the
perl bit was working so well for so long....
DAC
On Wed, 8 Oct 2003, Paul Berkowitz wrote:
>
On 10/8/03 7:34 AM, "Todd Geist" <email@hidden> wrote:
>
>
> I was just wondering if anybody has had a chance to look at the new version
>
> of iCal. Has Applescript functionality been improved.
>
>
Alarms are now scriptable, for a start. All types of alarms: sound alarm,
>
display alarm, mail alarm, open file alarm. They all have a 'trigger
>
interval' property:
>
>
trigger interval integer -- The interval in minutes between the event
>
and the alarm: (positive for alarm that trigger after the event date or
>
negative for alarms that trigger before)
>
>
sound alarm has a sound name (Unicode) property, and open file alarm has a
>
filepath (POSIX path) property in addition.
>
>
--
>
Paul Berkowitz
>
_______________________________________________
>
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.
_______________________________________________
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.