Page 1 of 1
New Rename Without Extensions Question
Posted: 15 Oct 2020 23:01
by VeeGee
Good afternoon all,
Loving the new "+++ Rename Without Extensions" option and have used it quite a bit lately. Today I ran into a problem where an older script I had misnamed a file and I was left with a file that had an incorrect extension. Script renamed "Freddy vs. Jason (2003).nfo" to "Freddy vs.Jason (2003)" due to the period contained within. I have updated the script.
With this new option enabled, how do you rename an extension when needed using the in-line renamer ? Do I just use another rename option (such as Rename Special / Set Extension) (which is what I used) ?
I thought using TAB to jump between the filename and extension would be cool, but inside the in-line renamer it just jumped me to the other pane.
Many thanks,
Re: New Rename Without Extensions Question
Posted: 15 Oct 2020 23:16
by jupe
Activate inline rename then press right arrow twice.
Re: New Rename Without Extensions Question
Posted: 16 Oct 2020 03:57
by VeeGee
Thanks ! Works perfectly.
Re: New Rename Without Extensions Question
Posted: 16 Oct 2020 18:59
by admin
BTW, I noted that 95% of the time when renaming a file I want to slightly modify the current name, and not replace it completely. So the current preselection is something I almost never need. What about making that preselection optional?
Re: New Rename Without Extensions Question
Posted: 18 Oct 2020 09:57
by Filehero
Code: Select all
v21.20.0001 - 2020-10-17 14:36
+ Added tweak to get rid of the preselection when entering a rename box:
RenameNoPreselect=1
Currently it's implemented in a way that also skips preselection when
focusing a text box in various places of the interface.
For the standard renaming of file items that's really a good change.
Could you exclude the AB from this change?
#1014; doesn't preselect the path anymore which is the whole purpose of "focusing" the Address Bar this way for me.
Re: New Rename Without Extensions Question
Posted: 18 Oct 2020 11:49
by admin
Filehero wrote: ↑18 Oct 2020 09:57
Could you exclude the AB from this change?
#1014; doesn't preselect the path anymore which is the whole purpose of "focusing" the Address Bar this way for me.
You focus the AB to select the path via scripting? That's an evil hack!

There must be another way, or else I will add one!
Re: New Rename Without Extensions Question
Posted: 18 Oct 2020 14:43
by Filehero
admin wrote: ↑18 Oct 2020 11:49
You focus the AB to select the path via scripting?
No.
But when I want to focus the AB with the keyboard I use this script to toggle the AB focus.
Code: Select all
if (get("FocusedControl") != "A") {
#1014; // focus AB
} else {
#1013; // cycle focus (F6) to unfocus AB
}
Re: New Rename Without Extensions Question
Posted: 18 Oct 2020 15:03
by admin
Looks like focusing the Address Bar still works using this script. But you miss the preselection here?
Re: New Rename Without Extensions Question
Posted: 18 Oct 2020 15:55
by Filehero
Yes, in this case the preselection makes very much sense to me. I mean, I actually don't want to rename the Address Bar, e.g. to Sushi Bar.

Re: New Rename Without Extensions Question
Posted: 18 Oct 2020 16:04
by admin
But why do you want the preselection here???
Re: New Rename Without Extensions Question
Posted: 18 Oct 2020 16:19
by Filehero
admin wrote: ↑18 Oct 2020 16:04
But why do you want the preselection here???
In order to copy the path immediately. With the arrival of the breadcrumbs I slowly stopped using 6 key navigation. So I focus the AB mostly to copy the current path - with the benefit of the visual highlighting by preselection.
With my habits it's quite the opposite to renaming a file item.
Re: New Rename Without Extensions Question
Posted: 18 Oct 2020 16:41
by admin
Okay. Next beta...
Re: New Rename Without Extensions Question
Posted: 18 Oct 2020 18:15
by Filehero
admin wrote: ↑18 Oct 2020 16:41Okay. Next beta...
Works. Thanks a lot.
