How to rename, replace text strings?

Post Reply
LifeIsLong
Posts: 108
Joined: 09 Oct 08 1:22

How to rename, replace text strings?

Post by LifeIsLong »

I've used rename before, but now I am struggling on 4.7.3.4751. I add a part that says FileName and then configure it to have a text replacement. When I press ok on the Replace Text Part dialog box, nothing changes in the example filename and when I press ok to rename, nothing in the filename changes.

How does this work?
G8DHE
Posts: 704
Joined: 21 Aug 17 12:58

Re: How to rename, replace text strings?

Post by G8DHE »

When you "+" the Text Replacement a new box should appear to enter your text in, then click OK and the new name field should update as below;
text_replacement_box.jpg
text_replacement_box.jpg (231.94 KiB) Viewed 2685 times
Geoff Mather (G8DHE)
LifeIsLong
Posts: 108
Joined: 09 Oct 08 1:22

Re: How to rename, replace text strings?

Post by LifeIsLong »

Right, I have one piece that says %Filename. Then I configure that piece to replace text. But the text replace dialog doesn't actually do anything. it doesn't update once I've changed the replacement pieces, and it doesn't change the filename when I click ok on rename.
G8DHE
Posts: 704
Joined: 21 Aug 17 12:58

Re: How to rename, replace text strings?

Post by G8DHE »

When you first open the Rename box, the "% Filename" appears by default, you can then add additional items by using the "+" box at the bottom and selecting the item you want if you take "Add text part" a new box appears to type your text into. You can continue adding more fields using the "+" at the bottom. If you don't want the original filename then once you have added the parts you do want then you can click on the righthand end of the
"% Filename" and delete the filename entirely.
Geoff Mather (G8DHE)
bimo
Posts: 140
Joined: 29 Aug 07 21:34
Location: Germany

Re: How to rename, replace text strings?

Post by bimo »

Well, especially "replace" doesn't work any longer at rhe moment. Try to truncate the filename at the desired position, add the new text and finish with the needed text at the end of the filename; that are 3 steps in total to replace the "replace" function.
Michael
Hert
Posts: 7870
Joined: 13 Sep 03 6:24

Re: How to rename, replace text strings?

Post by Hert »

As an alternative, you can use "Edit as Text" and enter the replace manually:
%FileName{replace=iPhone,Android}.%FileExtension
This is a user-to-user forum. If you have suggestions, requests or need support then please send a message
LifeIsLong
Posts: 108
Joined: 09 Oct 08 1:22

Re: How to rename, replace text strings?

Post by LifeIsLong »

Ahhhh, thanks Hert! That works.
Post Reply