Re: [Pythonmac-SIG] Trying to use appscript need some help

2009-06-30 Thread has
Jan Erik Moström wrote: I'm trying to learn how to use appscript but I don't understand what I'm missing. I want to read photo info from iPhoto and have things working ... partly [...] # set ptitle to date of item 1 of the selection # app(u'iPhoto').selection.items[1].date.get()

[Pythonmac-SIG] Trying to use appscript need some help

2009-06-29 Thread Jan Erik Moström
I'm trying to learn how to use appscript but I don't understand what I'm missing. I want to read photo info from iPhoto and have things working ... partly The script looks like this from appscript import * selected = app('iPhoto').selection.get() for item in selected: print 'Width :