[Pythonmac-SIG] How to fetch iCal todo description?

skip at pobox.com skip at pobox.com
Sun Feb 12 01:07:57 CET 2006


    Paul> On 2/11/06 3:19 PM, "skip at pobox.com" <skip at pobox.com> wrote:
    >> I'm stuck trying to figure out how to get the notes for a todo.

    Paul> Which OS are you in?

OSX 10.3.9 and iCal 1.5.5.

    Paul> In Panther, 'description' is missing from the AppleScript
    Paul> dictionary. In Tiger, it's there (plus other stuff and several bug
    Paul> fixes). Since appscript would be accessing the same attributes as
    Paul> AppleScript, that would be the explanation, if you're in OS
    Paul> 10.3.

I see.  I just saw your note from 2003:

    http://lists.apple.com/archives/Applescript-users/2003/Nov/msg00673.html

and filed a bug report. :-}

    Paul> Upgrade to Tiger.

*sigh* Okay, maybe a Tiger upgrade would be worth it at this point.  (Is
10.5 in beta yet?)  I could really make use of basic iCal access without
having access to the GUI.  I rarely have my 'book at work, but am generally
ssh-ed into it.  Being able to add and display events & todos from the shell
would be very useful.

    Paul> The first version or two of all the iApps are crap from the
    Paul> scriptability angle. They seem to improve a lot with later
    Paul> versions: iCal in Tiger is pretty good, as is Address Book in
    Paul> Panther (and Tiger).

This is good news.

    Paul> Please always include which version of software and OS you're
    Paul> discussing.

My apologies.  It didn't occur to me that it would be a bug in iCal.  I
thought I was just doing something wrong (looking for the wrong property or
going about getting that bit of information the wrong way).

Skip


More information about the Pythonmac-SIG mailing list