Thank you, Terry.

I am trying the latest version now.    

-Richard

On Sunday, January 31, 2016 at 5:15:27 PM UTC-8, Terry Brown wrote:
>
> On Sun, 31 Jan 2016 12:46:32 -0800 (PST) 
> Richard Andersen <[email protected] <javascript:>> wrote: 
>
> > Thank you, Terry. 
> > 
> > I am trying the code with the Jan 29 build.    Still seeing some 
> > errors... 
>
> Sorry, my bad, you need to enable the leoscreen plugin.  But that's 
> perhaps a bit klunky.  The way the script works, it displays the text 
> export in a preview window, then opens a file save dialog on top of 
> that so you can save (or cancel). Then you have to close the preview 
> window.  The preview window is from a function that happens to reside 
> in the otherwise unrelated leoscreen plugin, which is for two way 
> communication between Leo and unix command line apps. leveraging the 
> unix `screen` command. 
>
> Maybe it would be neater to just copy the content to the clipboard 
> and offer the file save dialog... 
>
>
> https://github.com/leo-editor/snippets/blob/master/scripts/output/outline2text.py
>  
>
> now does that - if you want to see the text, paste it into a node, 
> otherwise just save it somewhere, that seems like the more likely end 
> use. 
>
> Cheers -Terry 
>
> > exception executing script 
> > AttributeError: 'Commands' object has no attribute 'leo_screen' 
> > -------------------- 
> >   line 69:     for i in c.getSelectedPositions(): 
> > * line 70:         export_text(i) 
> >   line 71:     c.leo_screen.show('\n'.join(lines), 'text', plain=True) 
> >   line 72:     
> > 
> > ... and will keep working with it further to see what might be the 
> > issue. 
> > 
> > -Richard 
> > 
> > On Wednesday, October 5, 2011 at 1:49:18 PM UTC-7, Todd Mars wrote: 
> > > 
> > > Can I export text representation with both headlines and bodies in 
> > > a simple outline structure? (like a text dump)Perhaps there is a 
> > > way to do this in rst but output defaults to all left justified. 
> > > thanks! 
> > 
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to