Re: ical todo notes
Re: ical todo notes
- Subject: Re: ical todo notes
- From: "Dr. Max Bonilla" <email@hidden>
- Date: Mon, 24 Nov 2003 16:43:58 -0500
The variable alarmTrigger below set an alarm 5 minutes prior to the event,
not 15. Does that happen to you?
Max
On 11/24/03 3:26 PM, "Paul Berkowitz" <email@hidden> wrote:
>
No. alarms are not properties, they're elements. You have to make them after
>
the event exists:
>
>
set StartDate to "11/24/2003 9:00 AM"
>
set enddate to "11/24/2003 10:00 AM"
>
set alarmTrigger to "-15"
>
set soundName to "Sosumi"
>
>
>
tell application "iCal"
>
set newEvent to make new event at end of calendar 3 with properties
>
{summary:"hello", start date:StartDate, end date:enddate}
>
tell newEvent
>
make new sound alarm at end of sound alarms with properties {trigger
>
interval:alarmTrigger, sound name:soundName}
>
end tell
>
end tell
>
>
That works fine.
>
>
Unfortunately, there's no 'email' property of 'mail alarm'. I've figured out
>
that the mail alarm always gets made for the email address which is at the
>
top of the list of email addresses for your 'My Card' in Address Book. That
>
is always the first Work email there. So you need to change that if it's not
>
the email address you want.
>
>
I've discovered the worst cesspool in iCal: it's 'attendees'. So are so many
>
bugs, and they're so bad, it's almost unusable. More later.
_______________________________________________
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.