Perhaps I am not using the right syntax, but here is the applescript command I am trying to use in pyappscript:

        make new collection with name "Test1" for library "Shamus"

for the life of me I cannot get this to work in pyappscript:

bn.libraries['Shamus'].make(new=k.collection, with_name='Test1', for=bn.libraries['Shamus'])

I get this error:

File "<stdin>", line 1
bn.libraries['James'].make(new=k.collection, with_name='James', for=bn.libraries['James'])

Is there some bug with the for reference??

thanks in advance..



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

Reply via email to