In article <[EMAIL PROTECTED]>,
 Shamus <[EMAIL PROTECTED]> wrote:

> 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'])

Which app/version are you trying to script?  What's the rest of the 
error traceback?  And which versions of py-appscript, python, and OS X?

-- 
 Ned Deily,
 [EMAIL PROTECTED]

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

Reply via email to