• 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
Re: iCal completion dates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iCal completion dates


  • Subject: Re: iCal completion dates
  • From: Paul Berkowitz <email@hidden>
  • Date: Wed, 17 Nov 2004 07:01:48 -0800

On 11/17/04 1:28 AM, "cheshirekat" <email@hidden> wrote:

> On Tue, Nov 16, 20049:57 PM, the following words from Paul Berkowitz
> email@hidden, emerged from a plethora of SPAM ...
>
>> On 11/16/04 9:09 PM, "hofo" <email@hidden> wrote:
>>
>>> What's the criteria to check iCal for a todo with no completion date?
>>> I want to find the todos in a calendar who don't have a completion
>>> date.
>>
>> You have to trick it into comparing the completion date property to a real
>> date - only todos with completion dates meet the criterion:
>>
>>    every todo of calendar 1 whose completion date > date "Friday, January
>> 1, 1904 12:00:00 AM"
>> --> (correct list)

>>
>> --
>> Paul Berkowitz
>>
> tell application "iCal"
>    set the cTarget to the first calendar whose title is "Home"
>    tell cTarget
>       set the toDoList to the summary of (every todo where not its
> completion date is less than the (current date))
>    end tell
> end tell


Sorry - mine was back to front, giving only todos which _have_ completion
dates. It needs to be inverted too for those _without_ a completion date:

    every todo of calendar 1 where not (its completion date > date "Friday,
January 1, 1904 12:00:00 AM")
--> (really correct list)
--
Paul Berkowitz


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: iCal completion dates (From: cheshirekat <email@hidden>)

  • Prev by Date: Re: illustrator .. pdfs
  • Next by Date: Re: illustrator .. pdfs
  • Previous by thread: Re: iCal completion dates
  • Next by thread: [ANN] AppleScript-related Update at Source Forge
  • Index(es):
    • Date
    • Thread