Hi All,

I'm trying to create and save a new OmniOutliner doc, but I'm having  
some trouble trying to figure out what to pass as the _in parameter.  
Any suggestions? A script snippet is below.

Thanks,

Tom

from appscript import app,k

oo = app("OmniOutliner")
d = oo.documents.end.make(new=k.document)
#...
#add rows, etc...
#...

#newFile doesn't exist yet, so the following doesn't work:
#from Carbon.File import FSSpec
#newFile = FSSpect("/tmp/aNewFile")
oo.save(d,in_=newFile)

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

Reply via email to