Multiple rename in editor shortcut
Moderators: white, Hacker, petermad, Stefan2
Multiple rename in editor shortcut
Multiple rename dialog allows editing file names directly in a text editor.
Is there a way to launch the editor with the selected files directly, bypassing Multiple Rename dialog?
Is there a way to launch the editor with the selected files directly, bypassing Multiple Rename dialog?
Re: Multiple rename in editor shortcut
For one selected file you have the context menu entry "Edit left" or "Edit right" (f4 / Shift-f4).
Windows 11 Home x64 Version 23H2 (OS Build 22631.3672)
TC 11.03 x64 / x86
Everything 1.5.0.1378a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
TC 11.03 x64 / x86
Everything 1.5.0.1378a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
Re: Multiple rename in editor shortcut
The MRT dialog supports editing the names in an external editor
and use the edited list to rename the files.
Without the MRT you would need a TC function to rename files with a similar function.
There is no such function and I don't see a real need for it
but you may add a suggestion in the sub-forum.
and use the edited list to rename the files.
Without the MRT you would need a TC function to rename files with a similar function.
There is no such function and I don't see a real need for it
but you may add a suggestion in the sub-forum.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3672)
TC 11.03 x64 / x86
Everything 1.5.0.1378a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
TC 11.03 x64 / x86
Everything 1.5.0.1378a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
Re: Multiple rename in editor shortcut
2jackhab
Is your question perhaps: Can I transfer the file names selected in the file panel automatically to a file? - Yes, you can either use the command:
SAVESELECTION path\filename
or
cm_SaveSelectionToFile
Both can be used in a button.
Since the file names are stored in a file you can just open that file with F4.Is there a way to launch the editor with the selected files directly, bypassing Multiple Rename dialog?
Is your question perhaps: Can I transfer the file names selected in the file panel automatically to a file? - Yes, you can either use the command:
SAVESELECTION path\filename
or
cm_SaveSelectionToFile
Both can be used in a button.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Multiple rename in editor shortcut
But this would still not rename the files after editing the list as its done in MRT.petermad wrote: ↑2022-12-04, 13:19 UTC 2jackhabSince the file names are stored in a file you can just open that file with F4.Is there a way to launch the editor with the selected files directly, bypassing Multiple Rename dialog?
Is your question perhaps: Can I transfer the file names selected in the file panel automatically to a file? - Yes, you can either use the command:
SAVESELECTION path\filename
or
cm_SaveSelectionToFile
Both can be used in a button.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3672)
TC 11.03 x64 / x86
Everything 1.5.0.1378a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
TC 11.03 x64 / x86
Everything 1.5.0.1378a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
Re: Multiple rename in editor shortcut
no his questions was clearly:
instead of "select x files, press ctrl+m, Mousclick the button which looks like a folder instead of an editor, choose Edit names, Edit the names"
jackhab wants to "select x files -> press a buton -> Edit the names".
Hoecker sie sind raus!
Re: Multiple rename in editor shortcut
Sure, but jackhab can prepare the file before opening the Multi Rename Tool. But still - I am not sure what jackhab really wants.But this would still not rename the files after editing the list as its done in MRT.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Multiple rename in editor shortcut
Put these entries in your usercmd.ini file (located the same place as your wincmd.ini file, if not present create it)
Make this button:
Code: Select all
[em_copy_MRT_names]
cmd=SAVESELECTION %COMMANDER_INI%\..\MRT-names.txt
[em_open_MRT_names]
cmd=%COMMANDER_INI%\..\MRT-names.txt
Code: Select all
TOTALCMD#BAR#DATA
em_copy_MRT_names,em_open_MRT_names
wcmicons.dll,46
Copy selected files to MRT-names.txt and open the file
Now you can select some files, click the button, and the filenames is saved to the files MRT-names.txt in your TC Data folder and opened in the default editor for txt files.To make the button:
1. Mark the text in the box here above (click SELECT ALL).
2. Copy it to the ClipBoard (press Ctrl+C).
3. Right click on TC's buttonbar and choose "Paste".
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Multiple rename in editor shortcut
jackhab,
This might or might not be what the request is about. Copy, then right click the Button Bar and Paste.
PTH
Roman
This might or might not be what the request is about. Copy, then right click the Button Bar and Paste.
Code: Select all
TOTALCMD#BAR#DATA
notepad.exe
%L
%COMMANDER_PATH%\WCMICON2.DLL,28
-1
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Re: Multiple rename in editor shortcut
For this solution, may I suggest using %WF instead of %L to exclude the paths and support Unicode names:Hacker wrote: ↑2022-12-04, 20:28 UTC jackhab,
This might or might not be what the request is about. Copy, then right click the Button Bar and Paste.
Code: Select all
TOTALCMD#BAR#DATA notepad.exe %L %COMMANDER_PATH%\WCMICON2.DLL,28 -1
Code: Select all
TOTALCMD#BAR#DATA
notepad.exe
%WF
%COMMANDER_PATH%\WCMICON2.DLL,28
Pass selected filenames to Notepad (without path)
-1
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Multiple rename in editor shortcut
petermad,
Roman
Indeed, suremay I suggest using %WF instead of %L to exclude the paths and support Unicode names
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Re: Multiple rename in editor shortcut
Thanks, petermad
The idea with the file list button looks nice, maybe I'll hook up some Autokey trick to rename files via this file list which bypasses MRT.
The idea with the file list button looks nice, maybe I'll hook up some Autokey trick to rename files via this file list which bypasses MRT.
Re: Multiple rename in editor shortcut
2jackhab
In my practice, there were a lot of auto-naming buttons/scripts. The question is only about the specific replacement data and the simplicity/complexity of the implementation.
In my practice, there were a lot of auto-naming buttons/scripts. The question is only about the specific replacement data and the simplicity/complexity of the implementation.
Overquoting is evil! 👎
Re: Multiple rename in editor shortcut
2jackhab
You can load and run MRT automatically with a saved setting with the command:maybe I'll hook up some Autokey trick to rename files via this file list which bypasses MRT.
Code: Select all
MULTIRENAME==<saved setting name>
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar