You can easily create a calendar in ical with something like this:
set mycalendar to "New Calendar"
tell application "iCal"
if (exists calendar mycalendar) = false then
create calendar with name mycalendar
end if
end tell
But what if I want to create this calendar on a specific CalDAV account, how would I do?
AppleScript: 2.0.1
Browser: Safari 528.16
Operating System: Mac OS X (10.5)