Julian Robbins wrote: > Hi > > Is there a quick way to extract all the text from a Scribus file in one > go? I could do this was a generated PDF, but I believe that doesnt quite > work correctly either, adding lots of spaces right through the words. > Attached is an imperfect script to do this. The imperfections are: 1. it relies on the frames' names beginning with "Text" to recognize them. 2. If text frames are linked you will get duplicate output -- everything is there, but perhaps multiple times.
It will also give the source of each image frame's image. I did this as an exercise so I didn't bother to keep working on it. If you added a test of a frame's contents you could fix problem number 1. Greg -------------- next part -------------- A non-text attachment was scrubbed... Name: frameslist.py Type: text/x-python Size: 1149 bytes Desc: not available Url : http://nashi.altmuehlnet.de/pipermail/scribus/attachments/20071024/8a806632/attachment.py
