Page 1 of 1

Slide show: Display filename without specific chars

Posted: Tue May 17, 2022 6:34 pm
by ML_1
Ich hätte da einen Vorschlag bzw. Wunsch umgesetzt.

Wenn bei der Diashow der Dateiname ohne Erweiterung eingesetzt wird, ist es möglich bestimmte Zeichen auszublenden ?
Wenn ich folgende Dateinamen habe:

01 Beschriftung 2022 xxx
02 Beschriftung 2022 xxx
03 Beschriftung 2022 xxx

so sollte die Beschriftung so aussehen:

Beschriftung 2022 xxx
Beschriftung 2022 xxx
Beschriftung 2022 xxx

Viele Grüße

Manfred
-----------------------------
I would have implemented a suggestion or wish.

If the file name is used without an extension in the slide show, is it possible to hide certain characters?
If I have the following filenames:

01 Beschriftung 2022 xxx
02 Beschriftung 2022 xxx
03 Beschriftung 2022 xxx

so the caption should look like this:

Beschriftung 2022 xxx
Beschriftung 2022 xxx
Beschriftung 2022 xxx

Many greetings

Manfred

Re: Slide show: Display filename without specific chars

Posted: Wed May 18, 2022 4:27 am
by helmut
Thank you for your problem report in English and German, Manfred. Currently, filename in info is identical to the actual filename. And I much doubt that there are plans to change this. What you might do is renaming your files and remove the number prefix 01, 02, .... For renaming you can use "{Filename}" as name template and in section replace you enter "^[0-9]* " (without double quotes, please note the space char at the end) and check "regular expression". Field "With" remains empty.
Sure enough this is a workaround and I'm not sure whether renaming your files for viewing in a slide show is practical at all.

Re: Slide show: Display filename without specific chars

Posted: Mon May 23, 2022 12:20 pm
by xnview
do you have tried place holder part like

Code: Select all

<Filename [3-]>

Re: Slide show: Display filename without specific chars

Posted: Mon May 23, 2022 7:47 pm
by helmut
xnview wrote: Mon May 23, 2022 12:20 pm do you have tried place holder part like

Code: Select all

<Filename [3-]>
Wow, I expected these placeholder parts to work in batch rename, only. But in fact these placeholders parts also work when using these in Tools > Settings | View | Info, textbox "Information displayed".

Re: Slide show: Display filename without specific chars

Posted: Tue May 24, 2022 6:00 am
by XnTriq
xnview wrote: Mon May 23, 2022 12:20 pm do you have tried place holder part like

Code: Select all

<Filename [3-]>
Added to XnView MP - User Guide

Re: Slide show: Display filename without specific chars

Posted: Tue May 24, 2022 5:40 pm
by ML_1
Hello,

that works great, thanks!

regards

Manfred