File rename (extension)

I have filenames not showing extension. So when I right click 'rename' or press F2 it only shows the filename.
I was messing around with the rename widget as it requires me to deselect 'ignore extension' every time I open it.
It seems I messed up as now when I right click 'rename' or press F2 it now shows the filename plus the extension highlighted - the widget still requires deselection

Please advise how to undo what I have done
AND how do I get the widget to show 'ignore extension' deselected when I open it?

I have managed to undo the filename edit so it is now back to just showing the filename
Would still like to know how to deselect 'ignore filename' by default

Append NOIGNOREEXT to the Rename ADVANCED button with which you call the dialog.


You are not on Opus 11 anymore, right?

erm...
No 13.13 x64

Where did 11 Pro come from?

Could you perhaps elaborate where I would make the above change?

I guess you use this button:

How to use buttons and scripts from this forum

just spent an hour but nothing I did worked, just kept getting an warning flash 'script error'

Here's a ready-to-copy-and-paste button:

<?xml version="1.0"?>
<button backcol="none" display="both" label_pos="right" textcol="none">
	<label>Rename</label>
	<icon1>#rename</icon1>
	<function type="normal">
		<instruction>Rename ADVANCED NOIGNOREEXT</instruction>
	</function>
</button>

Make sure you edit the button you’re clicking. Note that the menu inside the button has a separate, duplicate copy of the button. If you’re clicking the button itself, edit the button itself and not the first item in the menu. (Or change both.)

excellent, thank you

just one thing, is it possible that it could just highlight the extension only not including the . (as that is what I want to change)

After pushing F2 to rename the file, push Ctrl + E to select the extension (also reveals it if it was hidden).

Whilst I agree that does what I want it to there must be something in the script that tells it to highlight the filename. Could this not highlight the extension instead (not the dot)?

Could you post a screenshot of the thing we're talking about, and what you want it to do instead?

I'm not sure I've completely understood what you're trying to do / undo.

If that involved editing the toolbar/menu/hotkey that starts the rename, please tell us the commands they're set to now.

Or, if the edits were within the Rename dialog, please show a screenshot of how it looks just after it opens.

Settings under Preferences / File Operations / Renaming Files may also be relevant/useful.

My standard lister layout does not show the file extension as part of the filename. This so I can rename a file without any interaction with the file extension.
When I want to do that I would use the rename button. For example I don't know why the extension jpeg really annoys me so I will change to jpg.
Using the standard rename button has the ignore extension box checked by default.
Using the custom rename button you provided was rectified this but when I open it by default it highlights the filename. I would like it to highlight the file extension (excluding the .) so I can just go ahead and start typing.
Thank you


I don't think that's possible in the dialog.

But what about?

Rename INLINE=ext

Have you tried pressing F2 twice (or repeatedly just to see how awsome it is :slight_smile: )

I hadn't but that is excellent.
Thank you.