Suggestion: hotkey for calling external editor in Multi-rename tool

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

MCorey
Junior Member
Junior Member
Posts: 4
Joined: 2017-04-20, 10:39 UTC

Suggestion: hotkey for calling external editor in Multi-rename tool

Post by *MCorey »

First, please allow me to express my sincere gratitude and appreciation for the excellent software you have been providing over the decades. Total Commander has been an invaluable tool for me, my friends, and my colleagues for many years, both in personal and professional contexts.

One advanced feature I find particularly useful is the Multi-Rename Tool. Recently, I discovered even more productive ways to use it via the “Edit names…” function. Combined with an advanced editor such as MS Visual Studio Code, this feature becomes extremely powerful (thanks to regex search and replace, multi-cursor editing, etc.).

However, the current UI design makes the “Edit names…” function difficult to notice (which may cause many users to remain unaware of it) and also hard to access (currently it is realistically only accessible by mouse, which reduces productivity for keyboard-focused users like myself. Moreover, since it is available only through a dropdown menu and not as a direct button, it requires two mouse clicks).

With that in mind, I would like to suggest several UI/UX improvements, which could be implemented either individually or together:
  1. Add a hotkey for the “Edit names…” function, available when the Multi-Rename Tool window is open. A natural choice could be F4, which currently seems unused in the Multi-Rename Tool window.
  2. The "Configure editor..." option in the same dropdown menu as “Edit names…” also seems misplaced and hard to find. Although it pertains to program configuration, it is not available under "Configuration | Options" but hidden inside the Multi-Rename Tool window. Two possible solutions:
    • Remove this option entirely and always use the editor configured for F4 (set under "Configuration | Options"). Personally, this seems a reasonable solution, as I imagine few use cases for configuring a separate editor just for the Multi-Rename Tool.
    • Alternatively, if you prefer to keep it, move the editor selection setting to the "Configuration | Options" dialog. You could add a checkbox like “Use F4 editor for Multi-Rename Tool”, and if unchecked, allow specifying a different editor. In this case, the "Configure editor..." item could be removed from the dropdown to declutter it.
  3. If suggestion No. 2 is implemented, consider removing the dropdown menu from the Multi-Rename Tool entirely. Instead, add two separate buttons: one for "Load names from file..." and one for "Edit names…", making these functions more visible and accessible. Alternatively, you could move only “Edit names…” out of the dropdown into a direct button, while keeping the dropdown for "Load names from file..." and adding another option such as "Load names from clipboard…".
Thank you very much for considering these suggestions, and for your continued work on this outstanding software!
Fla$her
Power Member
Power Member
Posts: 2981
Joined: 2020-01-18, 04:03 UTC

Re: Suggestion: hotkey for calling external editor in Multi-rename tool

Post by *Fla$her »

1. This can be done using Autorun beta.
Overquoting is evil! 👎
sa16
Senior Member
Senior Member
Posts: 324
Joined: 2021-09-10, 07:15 UTC

Re: Suggestion: hotkey for calling external editor in Multi-rename tool

Post by *sa16 »

MCorey wrote:currently it is realistically only accessible by mouse, which reduces productivity for keyboard-focused users like myself
Doesn't that work?
F10 --> E
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Suggestion: hotkey for calling external editor in Multi-rename tool

Post by *petermad »

Moreover, since it is available only through a dropdown menu and not as a direct button,, it requires two mouse clicks
As sa16 points out and as it is mentioned in the Help:
Help wrote:The menu can be opened with F10.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
white
Power Member
Power Member
Posts: 5743
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Suggestion: hotkey for calling external editor in Multi-rename tool

Post by *white »

petermad wrote: 2025-04-29, 09:09 UTC As sa16 points out and as it is mentioned in the Help:
Help wrote:The menu can be opened with F10.
But it is listed at the end, like an afterthought. Perhaps it is better to mention it in the beginning, for example by changing the first line into:
Opens a context menu (also accessible via F10) with the following options:
This way, the information is presented prominently and less likely to be overlooked.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6950
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Suggestion: hotkey for calling external editor in Multi-rename tool

Post by *Horst.Epp »

white wrote: 2025-04-29, 11:41 UTC But it is listed at the end, like an afterthought. Perhaps it is better to mention it in the beginning, for example by changing the first line into:
The position is not important at all, using "F10 e" as suggested
and not the mouse.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
MCorey
Junior Member
Junior Member
Posts: 4
Joined: 2017-04-20, 10:39 UTC

Re: Suggestion: hotkey for calling external editor in Multi-rename tool

Post by *MCorey »

Thank you all for your helpful responses! I appreciate the clarification regarding the "F10 | e" keyboard sequence — I apologize for having overlooked it. It's great to know that there is already a way to access the feature without using the mouse.

That said, I still believe the suggestions in my original post could contribute to an improved user experience. In particular, a dedicated, single-key hotkey (such as F4) would streamline access even further, especially for power users who rely heavily on keyboard workflows.

Additionally, I feel the points about the visibility of the “Edit names…” function and the configuration of the external editor remain relevant. Making these elements more discoverable and keeping configuration more consistent could benefit both new and experienced users.

Thanks again for engaging with the suggestions!
User avatar
Dalai
Power Member
Power Member
Posts: 9941
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Suggestion: hotkey for calling external editor in Multi-rename tool

Post by *Dalai »

Horst.Epp wrote: 2025-04-29, 12:15 UTCThe position is not important at all [...]
It is important, primarily for users that are new to TC or its MRT. Providing a more prominent placement in the description might greatly increase the chance of this function being discovered. It's not just important that something is described/documented at all but it's equally important how it's written and where.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Fla$her
Power Member
Power Member
Posts: 2981
Joined: 2020-01-18, 04:03 UTC

Re: Suggestion: hotkey for calling external editor in Multi-rename tool

Post by *Fla$her »

MCorey wrote: 2025-04-29, 13:20 UTC In particular, a dedicated, single-key hotkey (such as F4) would streamline access even further, especially for power users who rely heavily on keyboard workflows.
If you want a solution for yourself, and not waiting for it for many years, then I have already shown the way.
Only F4 is not suitable, because it has a system binding with the expansion of drop-down lists (comboboxes).
Overquoting is evil! 👎
User avatar
xxxdo1
Junior Member
Junior Member
Posts: 87
Joined: 2024-11-03, 02:45 UTC

Re: Suggestion: hotkey for calling external editor in Multi-rename tool

Post by *xxxdo1 »

2Fla$her
How to set a hotkey using Autorun? Can you give an example?
As the poster mentioned, set a hotkey in the multi-rename tool.
Fla$her
Power Member
Power Member
Posts: 2981
Joined: 2020-01-18, 04:03 UTC

Re: Suggestion: hotkey for calling external editor in Multi-rename tool

Post by *Fla$her »

2xxxdo1

Code: Select all

LoadLibrary Plugins\Autorun_Tweaks.dll
LoadLibrary Plugins\Autorun_Runtime.dll

# F6 in MRT — Load names from file...
SetHotKeyAction /H:F6 /D /S MRT_HotKeys 1

# F7 in MRT — Edit names...
SetHotKeyAction /H:F7 /D /S MRT_HotKeys 2

# F8 in MRT — Configure editor...
SetHotKeyAction /H:F8 /D /S MRT_HotKeys 3

Func MRT_HotKeys(Num)
   Local MRT = WinFind(0, 'TMultiRename')
   If WinGetState(4, MRT) = 0 Then Return -1
   Local c, hMenu, Index = (AUTORUN_TCARCH = 32 ? 1 : 6), _
   Class = (AUTORUN_TCARCH = 32 ? 'TBitBtn' : 'Button'),  _
   lCtrl = WinGetFocusedCtrl(MRT)
   PostMessage(WinFind(MRT, Class, Index), 245, 1)
   For c = 1 To 5
      hMenu = WinFind(0, '#32768')
      If hMenu Then Break
      Sleep(20)
   Next
   If hMenu Then
      PostMessage(hMenu, 485, Num-1)
      PostMessage(hMenu, 256, 13, 1)
      PostMessage(hMenu, 257, 13, 0xC0000001)
   EndIf
   WinSetCtrlFocus(lCtrl)
EndFunc
Last edited by Fla$her on 2025-04-30, 09:49 UTC, edited 1 time in total.
Overquoting is evil! 👎
User avatar
xxxdo1
Junior Member
Junior Member
Posts: 87
Joined: 2024-11-03, 02:45 UTC

Re: Suggestion: hotkey for calling external editor in Multi-rename tool

Post by *xxxdo1 »

2Fla$her
Thanks, it works, this method is very convenient.
Fla$her
Power Member
Power Member
Posts: 2981
Joined: 2020-01-18, 04:03 UTC

Re: Suggestion: hotkey for calling external editor in Multi-rename tool

Post by *Fla$her »

2xxxdo1
Good. Added return of focus to the current control.
Overquoting is evil! 👎
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3377
Joined: 2003-05-06, 11:46 UTC

Re: Suggestion: hotkey for calling external editor in Multi-rename tool

Post by *Sir_SiLvA »

Dalai wrote: 2025-04-29, 15:53 UTC
Horst.Epp wrote: 2025-04-29, 12:15 UTCThe position is not important at all [...]
It is important, primarily for users that are new to TC or its MRT. Providing a more prominent placement in the description might greatly increase the chance of this function being discovered. It's not just important that something is described/documented at all but it's equally important how it's written and where.
Wrong! If a user is new to TC one can expects him to read not only the first three lines so the place is as Horst rightfully said it not important :-)
If the User doesnt read the complete page its the Users fault.
Hoecker sie sind raus!
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3377
Joined: 2003-05-06, 11:46 UTC

Re: Suggestion: hotkey for calling external editor in Multi-rename tool

Post by *Sir_SiLvA »

MCorey wrote: 2025-04-29, 13:20 UTC Additionally, I feel the points about the visibility of the “Edit names…” function and the configuration of the external editor remain relevant. Making these elements more discoverable and keeping configuration more consistent could benefit both new and experienced users.
No they are not imho, new user can read the help, experienced users know where the edit is BUT you are right in proposing the F4 hotkey for the funktion, so for that +1 from me :!:
Hoecker sie sind raus!
Post Reply