Howto mass-rename at end of filename

I would like to have a button + hotkey that allows me to select multiple images and insert an addition to the image-name before the dot of the filename extension, for example:

IMG_20220613_184752.jpg should be renamed to
IMG_20220613_184752 anniversary.jpg

I would like to have it this way, that the cursor is active directly at the right position so that I can directly start typing.

2022-06-14 004 screenshot

I am not sure how to approach this. Especially how to find the position before the extension as filenames also could like this: filename.subname.something.jpg

Try Rename INLINE=endstem or Rename Macros.

https://www.gpsoft.com.au/help/opus12/index.html#!Documents/Rename.htm

https://www.gpsoft.com.au/help/opus12/index.html#!Documents/Rename_Macros.htm

Select the files, click Rename, make sure "Use preview list to build macros" is turned on, then click on the first item in the list at the bottom, in the New Name column, and start editing the name.

Your edits will be applied to all the other files at the same time.

(Double-tap the End key to go to the end of all the names when you want to add or remove things from there. Double-tap Home to go back to the start of all the names.)

Alternatively, you could use wildcards in the Old Name and New Name fields at the top:
* to * anniversary will do the same thing.

Or you could make a command which prompts you for the thing to add with a simple string box, but that's a lot less flexible.

Thanks a lot! The video was very helpful.

I think a button that opens a popup box to enter the part that should be added to the filename would also be very convenient as long as I just want to add stuff at the end of the filename (which is what I do in most cases).

Which commands do I need for this?