Is it possible to create a script that will copy the ical task list to a clipboard?
Do you mean To Do items?
Right, all of the Todo’s, I think it’s Entourage where it’s called the task list. Sorry.
I don’t have a lot of stuff in iCal to test with but this might get you started. It works on calendar 1 (named “Home” on my setup).
set output to ""
try
tell application "iCal"
set todoList to calendar 1's todos
if (count todoList) is 0 then
display dialog "No ToDos were found in this calendar."
return
end if
repeat with todo_ in todoList
tell todo_
set output to output & (summary & return & return)
end tell
end repeat
end tell
set the clipboard to output
on error errMsg
display dialog errMsg
end try
– Rob (who should drink more coffee before responding)
Wow! It works beautifully!
Thanks Rob! A week ago, I thought “wouldn’t it be cool if…” and now I’m doing it!
With your gracious assistance of course.