• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Ical and completion date...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: [ADMIN] Sorry for the dups
  • Next by Date: Re: applescript-users digest, Vol 3 #1251 - 17 msgs
  • Previous by thread: ANN: Christian xTalk discussion forum
  • Next by thread: Re: applescript-users digest, Vol 3 #1251 - 17 msgs
  • Index(es):
    • Date
    • Thread