David Voswinkel wrote:

> But now iam stuck with the task to add a photo  to a referenced album.

AFAIK the only way to bring in image files is via the 'open' command,  
e.g.:

        iphoto.open([Alias('/path/to/image1.jpg'), Alias('/path/to/ 
image2.jpg')])

To add existing 'photo' objects to a specific album, use the 'add'  
comment, e.g.:

        iphoto.add(app.albums['Last Import'].photos, to=app.albums['My Album'])

HTH

has
-- 
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to