(03-24-2022, 09:02 AM)Redraw Wrote: Hello Krikor
I must be not understand something here , when I need to change the name of a layer or group or layer within a group I go to the Layers dialog box choose the item ( layer or group or layer within a group ) right click and select Edit Layer Attributes there "layer name" can be changed inc six or seven other layer properties,
ATM I using an older version of GIMP 2.10.12 not on rolling releases anymore, gone for a static distro. nice and slow,
thou that method did work with the newer Gimp I was using rolling distro,
Have I read your question wrong ?
Regards
Redrawn
Hello Redraw,
Your understanding is correct when it comes to renaming layers. But the point is to try to avoid renaming one by one when you have hundreds of layers that need to be renamed.
I often create a new layer by copying a previous layer, thereby generating layer names like Layer #1, Layer #2, ..., Layer #15, etc. Or, Layer name Copy #1, ..., Layer name copy #8.
At some point it is necessary to organize the names of the layers, but renaming them one by one is very boring and time consuming. Hence the need for a plugin that works in this routine.
Grateful for the attention!
(03-24-2022, 09:23 AM)rich2005 Wrote: I saw this last night searching but did not get a chance to try-out.
https://magoarcade.org/gimp-plugin-searc...yer-names/
It does use visible layers and layer groups. A little specific, might be useful for layer groups.
search-replace.py zipped and attached
This script (search-replace.py) is very close to fulfilling the wishes I expressed in post #1 of this topic.
I made visible only the layers I wanted to rename.
I asked him to rename only the visible layers.
He did that.
I chose the prefix 'Left' to be used, which should generate layers named Left 0, Left 1, Left 2, etc.
But the result was something strange (see image)
I also noticed that the ideal would be if the plugin could show us the existing layer groups and then allow us to choose which or which of them we would like to rename the layers (visible or indexed) - This would avoid having to redo all the selection of which layers would be or not visible with every rename.
(03-24-2022, 09:23 AM)rich2005 Wrote: edit: Ah.. it has a credit to OfnutsHummm really? Could you be revealing a secret profile of ofnuts without realizing it?
Thx again rich2205!
.....
Samj Portable - Gimp 2.10.28 - Win-10 /64.
Samj Portable - Gimp 2.10.28 - Win-10 /64.