On Mon, Jan 2, 2012 at 11:11 AM, mdb <[email protected]> wrote: > So the working script is
[snip] > But I imagine there is an easier way and it would be good to know if > there is a version of c.saveAs() that accepts a newfilename. I doubt there is a substantially easier way: init code is inherently tricky. You could take a look at the c.new code, but it's pretty geeky too. Adding a filename argument to c.saveAs and c.saveTo would be useful additions for scripts. Feel free to contribute such a patch. To be considered, the patch should include a unit test demonstrating that the new argument works. 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.
