iCal dates
David Thompson
dthmpsn1 at uiuc.edu
Fri Jan 18 14:31:44 PST 2008
>How does iCal read a date? I am not getting direct errors but I can
>tell I don't have it set correctly when it wont show a result in iCal
>from my (executeapplecscript) Pan procedure. Using Buidreminder and
>the resulting variable "When", and using remindercaption(When) I get
>a date I was trying to send to ical as "start date" value.
>
>Can someone please tell me what the appropriate date and time format
>should be on the pan side as parsed to the ical side? Naturally this
>will be a two way sync eventually, but this is a start.
Here's some sample code I wrote for someone else awhile back.
ExecuteAppleScript 'tell application "iCal"
activate
tell calendar "Home"
make new event at end of events with properties ¬
{start date:date "7/4/06 21:00", end date:date "7/4/06 22:00", ¬
location:"Stadium Terrace", summary:"Fireworks"}
end tell
end tell'
Dave
More information about the Qna
mailing list