Has,Thank you. Unfortunately, I have a list of UIDs for the todos I want to modify, so I think the best I can do is:for uid in uid_list: todo = [ t for t in app('iCal').calendars.todos.filter( its.uid == uid ).get() if t != k.MissingValue ][0] todo.stamp_date.set( datetime.datetime.today() )
On 8 Aug 2006, at 01:49, Marcin Komorowski wrote:
> I guess when I get to updating individual values in selected todos
> records, I will have to use a relatively slow request-per-update
> method. Is there a trick to update a field of a todo with a given
> uid in a single request?
You can s
Thanks Has, this definitely did the trick.
I guess when I get to updating individual values in selected todos
records, I will have to use a relatively slow request-per-update
method. Is there a trick to update a field of a todo with a given
uid in a single request?
Thanks,
Marcin
On 6-Aug
Marcin Komorowski wrote:
> I am trying to generate a python internal structure (a dictionary of
> dictionaries) with a copy of all todo data from iCal. I got it to
> work using the following code:
> [...]
> The problem is that this appears to execute painstakingly slowly.
Apple event IPC is fair
Am 2006-08-06 um 16:57 schrieb Marcin Komorowski:
> I am trying to generate a python internal structure (a dictionary
> of dictionaries) with a copy of all todo data from iCal. I got it
> to work using the following code:
>
> The problem is that this appears to execute painstakingly slowly.
Hey All,I am trying to generate a python internal structure (a dictionary of dictionaries) with a copy of all todo data from iCal. I got it to work using the following code:#!/usr/bin/env /usr/bin/pythonwfrom appscript import *from sys import stdoutappCal = app( 'iCal' )todos = appCal.calendars.fi