Ical and completion date...
Ical and completion date...
- Subject: Ical and completion date...
- From: Andy Satori <email@hidden>
- Date: Thu, 16 Jan 2003 18:15:02 -0500
Has anyone figured out how to determine the status of a todo item in iCal?
I'm baffled.
set completeTasks to ""
set openTasks to ""
tell application "iCal"
set theTasks to todos of currentCal
repeat with aTask in theTasks
set aCompleteDate to completion date of aTask
if aCompleteDate is not null then
set completeTasks to completeTasks & aTask
else
set openTasks to openTasks & aTask
end if
end repeat
end tell
Just crashes when run stating that aCompleteDate is not defined. I've also
tried variants, but this just looks like it should work :-(
Andy
_______________________________________________
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.