Hello All:
I am scripting iCal quite succesfully and have a question regarding "all-day-events"
Here is a snippet of what I am using. Works fine.
tell application "iCal" tell calendar "TEC Events" set theStartDate to current date set the year of theStartDate to 2007 set the month of theStartDate to 10 set the day of theStartDate to 25 set the hours of theStartDate to 12 set the minutes of theStartDate to 15 set the seconds of theStartDate to 0 set theStopDate to current date set the year of theStopDate to 2007 set the month of theStopDate to 10 set the day of theStopDate to 25 set the hours of theStopDate to 13 set the minutes of theStopDate to 30 set the seconds of theStopDate to 0 end tell
However, sometimes when I dont have start and stop times I want an all-day event.
Can I select "all-day" event through AS?
Thanks
Bob
|