How to make [E] box unmarked by default in Multi-Rename Tool

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
salam2009
Junior Member
Junior Member
Posts: 17
Joined: 2015-05-16, 01:29 UTC

How to make [E] box unmarked by default in Multi-Rename Tool

Post by *salam2009 »

Hi everyone,
Here's a screenshot to make it clear:
http://i.imgur.com/IRc3nGY.jpg
Note that saving that window's settings via F2 then loading it takes more effort than unchecking the [E]xtension option every time I start TC.
Thanks so much for any help!
User avatar
Stefan2
Power Member
Power Member
Posts: 4132
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Multi-rename tool: Pre- user- configuration // Load settings

Post by *Stefan2 »

I don't know if there is a setting for that, but you can help yourself:

viewtopic.php?p=189546#189546

- save your wanted settings as "saved_rename_settings"
- create a usercmd "MULTIRENAME saved_rename_settings"
- assign Ctrl+M to that usercmd


- - -

Or maybe even better, found in HISTORY.txt:
30.03.10 Added: wincmd.ini [Configuration]
MultiRenameLoadSettings=SavedName
load specified settings when opening multi-rename tool
(set to some non-existent name to open with default settings)


Perhaps this solve your issue?


- - -

BTW

something like this is also possible for the Search (Find) dialog:

- adjust the search settings and save as "em_search_CurrDirOnly"

- create a usercmd:
usercmd.ini
[em_search_CurrDirOnly]
CMD= LOADSEARCH search_CurrDirOnly


- assign a hotkey:
wincmd.ini
[Shortcuts]
;Enable 'F2'-key to start inline-rename mode, additional to origin 'Shift+F6'
F2=cm_RenameOnly

; Load Search with saved setting search_CurrDirOnly
C+F=em_search_CurrDirOnly
;Enable 'Ctrl+F' to start find-files, additional to origin 'Alt+F7'
C+F=cm_SearchFor



 
salam2009
Junior Member
Junior Member
Posts: 17
Joined: 2015-05-16, 01:29 UTC

Post by *salam2009 »

2Stefan2
Your methods should logically work, but sadly they didn't as there's some mistake in my procedures.
First, I saved my MRT settings as "saved_rename_settings" then tried those 3 methods:
- I went to Button Bar, pressed "Add" then added "MULTIRENAME saved_rename_settings", pressed OK. Didn't work.
- Went to Config>Misc then selected Ctrl+M as a hotkey, opened Command then chose usercmd.ini, pressed New, typed "em_MULTIRENAME saved_rename_settings" then MRT as a command name. Now, when I press Ctrl+M, I get this error "Function not Implemented! em_MULTIRENAME" which prevents MRT from opening.
- Opened wincmd.ini then added the line "MultiRenameLoadSettings=saved_rename_settings" beneath [Configuration], didn't work either. I'd definitely prefer to use this one for its simplicity but don't know how.
Thanks for any tips!
User avatar
Stefan2
Power Member
Power Member
Posts: 4132
Joined: 2007-09-13, 22:20 UTC
Location: Europa

MRT: MUT: MULTIRENAME <saved rename parameters>

Post by *Stefan2 »

What should I say? It just works for me. Here is a step-by-step instruction:

How-to
01.12.08 Release Total Commander 7.50 Beta 1
30.01.08 Added: New internal command with parameters: MULTIRENAME <saved rename parameters>
opens the multi-rename dialog box with the specified rename parameters.
Giving an invalid name will set all options to the default values

- launch MRT
- un-check the "[x]E" option
- F2 save settings as 'noE'

I have now in my wincmd.ini:
[rename]
noE_name=[N]
noE_ext=[E]
noE_params=0|1|1|1|0|0|0|0|0


- - -


create a button
CMD: MULTIRENAME noe
OK


- click that button
MRT opens, with the "[x]E" option un-checked


- - -

Create a usercmd / shortcut

Config>Misc
then selected Ctrl+M as a hotkey,
opened Command
then magnify icon
then chose usercmd.ini,
pressed New,
typed "em_MULTIRENAME saved_rename_settings"

CMD: MULTIRENAME noe
OK

OK
Apply by clicking the hook button
OK


- press Ctrl+M, the MRT launch and the "[x]E" option is un-checked


To remove the usercmd from the default hotkey:
go to Config>Misc , then selected Ctrl+M and click on the magnifying glass,
chose the very first option (Default command, no remapping) at the very top. OK, OK.



- - -

Change the MRT default setting


- modify the wincmd.ini
(See "Help > About TC > INI-Files" and "Config > Change Settings Files Directly")

- search for "MultiRenameLoadSettings"
- not there, so I add that line under [Configuration]
MultiRenameLoadSettings=noe

- save the INI
- press Ctrl+M, the MRT launch and the "[x]E" option is un-checked

- - -



 
salam2009
Junior Member
Junior Member
Posts: 17
Joined: 2015-05-16, 01:29 UTC

Post by *salam2009 »

2Stefan2
The last one worked like a charm!
I don't know why it didn't work when I tried it at the first time. Now it's opening with the "E" unchecked without a problem.
I really can't thank you enough for your time & efforts!
You're the best :)
Post Reply