• 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: cheshirekat <email@hidden>
  • Date: Wed, 17 Nov 2004 02:28:29 -0700

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)
>
>(The following results in a stupid answer:
>
>    every todo of calendar 1 whose completion date ? missing value
>
>just gets every todo, for some reason. Anything else you can think of just
>errors with a dumb Cocoa error.)
>
>--
>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

cheshirekat
--
Words are made for a certain exactness of thought, as tears are for a
certain degree of pain. What is least distinct cannot be named; what is
clearest is unutterable.

-  René Daumal (1908-1944), French poet, critic.

* 867 PowerBook G4 * OS X 10.2.8 * 768 MB Ram *
* Addictions: iTunes * AppleScript * iLife 4 * FileMaker Pro *

 _______________________________________________
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

  • Follow-Ups:
    • Re: iCal completion dates
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: iCal completion dates (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: [ANN] AppleScript-related Update at Source Forge
  • Next by Date: Re: [ANN] Announcing ScriptDB, The AppleScript database OSAX
  • Previous by thread: Re: iCal completion dates
  • Next by thread: Re: iCal completion dates
  • Index(es):
    • Date
    • Thread