Re: Scripting iCal
Re: Scripting iCal
- Subject: Re: Scripting iCal
- From: bill <email@hidden>
- Date: Wed, 16 Oct 2002 20:52:57 +0800
>
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
bill
_______________________________________________
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.