[scribus] feature request

dl dl.lists at ntlworld.com
Tue Dec 7 11:17:34 UTC 2021



On 07/12/2021 08:49, Colin Madwolf wrote:
> Hi
> As you know I am designing a large book with over 300 pages
>
> There are 687 images - so far
>
> It is quite slow - but, one of the things that would REALLY help my workflow would be if the image file name was visible in the Image Frame content properties
>
> When I have to insert a new image it would be good to be able to see the file name here, so that I know what the next one is - instead of having to scroll through all the images repeatedly to look for the correct one
>
> At a later date if that image needs editing, it would make finding it so much easier if you could see the filename
>
> Thanks in advance
> Colin
Any workflow automation question interests me whatever the application.
Currently I am not a frequent user of Scribus.
But I develop custom automation scripts to apply to other similar 
complex workflows.

In Ubuntu 20.04 > Scribus 1.5.5 (it helps to declare user environment) 
my first thought was to explore Scripter.

Sure enough there is a script DirectImageImport.py in
/usr/share/scribus/scripts/DirectImageImport.py

I noticed that I last played with this script in 07/2019.

I open a blank Scribus document, inserted an image frame, highlighted 
it. and applied through toolbar:

Scripter > Scribus Scripts > DirectImageImport

This launches a GUI to select the image to be imported.

I chose in left navigation panel $HOME/Pictures folder since it contains 
images. You could create a project folder with a tree structure 
(subfolders) to hold your 600 and growing images repository.

In Image Import GUI tick “Show Preview”.

You now have a preview of each selected image and some properties below 
each preview.

Now I suggest that this is a launchpad. A starting point. You could 
customise the Python script to do much more .. such as printing more 
metadata to suit your workflow.

For example has the image been imported previously and so on. You might 
wish to tag imported images as you suggest for future editing.

Admittedly, this script does not display the Image File Name in the 
Image Frame properties. But if you need this a popup note launched from 
within DirectImageImport.py could easily display this overlay 
information. In Ubuntu I would call Xpad tool. 
https://linuxhint.com/install-and-use-xpad-ubuntu/

To conclude, leverage Scripter for custom workflows and consider writing 
your own scripts which perhaps work _in concert_ with other 
tools/scripts. You can print a log of such imports.

Automation is the keynote for your workflow. I could see the Python 
script interfacing to say GoogleSheets through Python API.

DL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20211207/2e3acfb3/attachment.htm>


More information about the scribus mailing list