Page 1 of 1

Directory menu (Ctrl+D): Quick Search would be useful

Posted: 2021-06-11, 10:18 UTC
by schittli
Hello

Totalcommander's "Quick Search" is great and it would be very useful if we could use Quick Search in the Directory menu (Ctrl+D), too. We have between 40 and 60 items in the Directory menu...

Or, at least, if we could remove the hotkeys for "Add current Dir" and "Configureā€¦" because they are used once per year but having the A and C keys to search would be very useful.

Thanks a lot, kind regards,
Thomas

Re: Directory menu (Ctrl+D): Quick Search would be useful

Posted: 2021-06-11, 11:56 UTC
by Dalai
You can remove the hotkeys by modifying the language file in use (keys 1146-1148). Note that modified language files get overwritten on the next TC update, so it might be better to make a copy of the language files, modify the copy and then use that.

Regards
Dalai

Re: Directory menu (Ctrl+D): Quick Search would be useful

Posted: 2021-06-11, 14:53 UTC
by schittli
Thank you very much, Dalai!, that's a useful 1st step :-)

Re: Directory menu (Ctrl+D): Quick Search would be useful

Posted: 2021-06-11, 15:40 UTC
by schittli
It's very sad that the english language is not a separate language file :-(

Re: Directory menu (Ctrl+D): Quick Search would be useful

Posted: 2021-06-11, 20:44 UTC
by petermad
2schittli
It's very sad that the english language is not a separate language file
See: https://www.ghisler.ch/board/viewtopic.php?p=402786#p402786

You don't need a full wcmd_eng.lng you can just make a wcmd_eng.lng with the changes you want:

Code: Select all

English
1146="Add current dir"
1147="Remove current dir"
1148="Configure..."

May I suggest that you name the file wcmd_my_eng.lng with this content:

Code: Select all

English (modified)
1146="Add current dir"
1147="Remove current dir"
1148="Configure..."
And then select "English (modified)" as your language.

The name part of the file HAS to end with _eng - that ensures that plugins and other functions will use English. So wcmd_2_eng.lng or wcmd_modified_eng.lng are valid named, but wcmd_eng2.lng, wcmd_eng_2.lng or wcmd_eng_modified.lng are NOT valid.