[scribus] Database

JLuc jluc at no-log.org
Tue Sep 22 13:38:40 UTC 2015


I've missed that feature sometime and add to mass edit the SLA XML.

Your script's description reads great ale,
to be used as is
or as a prototype for what should be C++ coded in scribus core.

JLuc

Le 22/09/2015 13:49, a.l.e a écrit :
> hey
>
>>> > Or you could edit the new sla file and search-replace the image path there.
>>>
>>> The picture browser can fix links for you.
>>
>> yes it can, but only one image at a time... or did i miss a new feature?
> i've made a test and none of the "picture browser" or "manage images" seems to be able to mass fix broken links.
>
> now, here is my implementation as a python script (to be run inside of scribus):
>
> https://raw.githubusercontent.com/aoloe/scribus-script-repository/master/images-missing-relink/images-missing-relink.py
>
> """
> USAGE
>
> You must have a document open.
> This script checks if the document contains image frames with a broken link.
> If any is found, it will ask if you want to look for the correct image and then
> prompt for the new location of the first image.
> It will then check all other image frames with a broken link and look for an image
> of the same name in the new location. It the image is there, the link will be
> replaced.
>
> You would be wise to work on a copy of the original to avoid accidentally include
> the wrong images.
> """
>
> please test it and give feedback (or make pull requests :-)
>
> if it's confirmed that scribus cannot mass relink images, i would propose that a
> similar approach is included in "manage images"
> (i had a look at the picture browser and it looked like a terrible monster that tries
> to be everything and, at the end, seems to be of little use... can somebody explain me
> what he/she is using it for?)
>
> happy hacking
> a.l.e
>
>
> ___
> Scribus Mailing List: scribus at lists.scribus.net
> Edit your options or unsubscribe:
> http://lists.scribus.net/mailman/listinfo/scribus
> See also:
> http://wiki.scribus.net
> http://forums.scribus.net
>





More information about the scribus mailing list