Re: Scripting iCal
Re: Scripting iCal
- Subject: Re: Scripting iCal
- From: "John C. Welch" <email@hidden>
- Date: Wed, 16 Oct 2002 09:57:48 -0400
On 10/16/2002 08:52, "bill" <email@hidden> wrote:
>
> Is there a way to make an event "al-day event" through scripting?
>
>
>
>
Jean,
>
>
Try to set the time string of start date to midnight, that9s 00:00:00;
>
without setting the end date; afterward, restart iCal, then you9ll have an
>
all day event.
>
>
Example:
>
>
set sDate to date "Friday, 18 October 2002 00:00:00"
>
tell application "iCal"
>
activate
>
make new event at end of last calendar with properties {start
>
date:sDate, summary:"triste au minuit"}
>
quit
>
end tell
>
delay 1
>
tell application "iCal" to activate
Except that's different from an actual 'all day' event. That's an event that
happens to last all day. They really aren't the same thing. You can't create
a 'true' all day event.
Welcome to the iCal dictionary.
john
--
Ladies and gentlemen, you must resist those all-too-human feelings and
decide this case on the evidence. And the evidence plainly shows that Mr.
Landa's injuries, disfiguring as they are, are nowhere near as important to
a free society as the fundamental right to make smart-ass remarks.
--
Katie @ AtAT
_______________________________________________
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.