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

has hengist.podd at virgin.net
Sun Feb 12 20:17:33 CET 2006


Paul Berkowitz wrote:

>So now you're saying that - in spite of AppleScript not having 'description'
>in the iCal 1.5.5 dictionary in Panther - appscript can still get it? Do you
>mind explaining how that might be possible, has?

I did check 1.5.5 in 10.4, but I know it's not iCal 2.0's dictionary I was looking at because the two dictionaries look different.

iCal's .scriptTerminology file defines a 'description' property for calendar, event and todo classes, and always has. If they're not showing up on 10.3 it could be because the definitions themselves are suspect (there's an unfamiliar 'Sex' key), and 10.3 is fussier than 10.4 about this. I suspect that rather than fix the .scriptTerminology they relaxed the .scriptTerminology->aete conversion in 10.4.

I'm not rebooting into 10.3 to check this theory just now though, but feel free to dink about with it yourself. But it'd certainly explain why I could see the properties on 10.4 while someone on 10.3 wouldn't. Plus it means that the problem may well be fixable on 10.3 with a bit of judicious editing of the relevant entries.

has
-- 
http://freespace.virgin.net/hamish.sanderson/


More information about the Pythonmac-SIG mailing list