creating new todos on iCal

is there any way using applescript that you can create a new to do item in iCal? That would be great


Try this:

set theSumm to "Bloomsbury Theatre"
set dueDate to (current date) + 1 * weeks
set theUrl to ""
set thepriority to 1

tell application "iCal"
	make todo at end of events of (item 1 of every calendar) with properties {summary:theSumm, due date:dueDate, url:theUrl, priority:thepriority}
end tell

The annoying thing about scripting todos is you can’t access the Description field in iCal. You can do this by editing the .ics file, but it’s more work than it should be.

Best wishes

John M