On Thu, Nov 1, 2012 at 2:53 PM, Israel Hands <[email protected]> wrote: > I'm trying to create nodes which link to a directory full of pdf files so > that I can view them quickly with an '@mime' in the headline. I have been > able to do this with c.createNodeFromExternalFile, however this also fills > the body of the nodes with the contents of the files, which I'm not bothered > about. I can't see a method of creating nodes from file names without the > baggage of the file contents? > Having made the nodes I can's see a way of deleting all the body contents > simultaneously, by marking or multiple selection. And I know I must be > missing something really obvious but is there an easy way to copy the > resulting nodes to a different .leo outline file?
I don't think you are missing anything obvious. In your place I would create a script that just creates the headlines. You could copy the code from c.createNodeFromExternalFile, omitting the assignment to p.b. Edward -- 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.
