I think I found an easier way.  Should have guessed nullGui had real
meaning.  I just removed this and here is code that works for me

c2,frame = g.app.newLeoCommanderAndFrame(fileName='NewOutline')
c2.frame.createFirstTreeNode()

I will try to expand on c.saveAs()

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to