Page 1 of 2
Disable [Remove current dir] in hotlist
Posted: 2010-09-16, 11:28 UTC
by kesdoputr
Now in wincmd.ini we can use
RestrictInterface=32 can disable Directory hotlist change.
But now i need to diable
[Remove current dir] which appear when in dirs that in the hotlist.
Because the hotkey is R,when i press ctrl+D→R,the dir will be remove,
and i need to reset the dir in the hotlist, if there is a option to disable this item will be better i think.

Posted: 2010-09-16, 13:16 UTC
by theosdikaios
May be it is enough to changing the hotkey. This can be done by changing your WCMD_xxx.LNG (xxx stands for your language) entry with number 1147 from "&Remove current dir" to e.g. "Remove current dir &®".
WCMD_ENG.LNG can be found here.
Posted: 2010-09-16, 20:42 UTC
by MVV
Or just to "Remove current dir" w/o any shortcut key.
BTW there is another workaround. If you add another item with shortcut key R then R won't execure 'Remove current dir' since there are more than one line with same shortcut - key will just move focus between lines that have it as shortcut.
Posted: 2010-09-17, 09:20 UTC
by theosdikaios
Or just to "Remove current dir" w/o any shortcut key.
Unfortunately it doesn't work reliable because of automatic hotkeys. In that case there is a need for an entry with shortcut "R" too.
Posted: 2010-09-17, 10:19 UTC
by MVV
Where do you see automatic hotkeys? TC has no such feature, and Windows can't assign them automatically.

Maybe only with third-party software...
Posted: 2010-09-17, 10:54 UTC
by theosdikaios
Windows can't assign them automatically
IIRC it is a Windows feature. Test it: change the wcmd_eng.lng and "CTRL+D R" removes the folder.
Posted: 2010-09-17, 11:20 UTC
by MVV
Well, you're right, it seems that if no shortcut is assigned to item, its first letter is treated as its shortcut...
Posted: 2010-09-17, 18:42 UTC
by HolgerK
2
theosdikaios
In case you are using the built in English language, you don't need to download the complete "wcmd_eng.lng" file.
Just create a new file
wcmd_eng.lng wrote:English
1147="®emove current dir"
and select "English(wcmd_eng.lng)" from the language configuration.
Regards
Holger
Posted: 2010-09-19, 07:08 UTC
by kesdoputr
Thx for reply
I think i will don't assing any hotkey to this action and add anther dir whick hotkey is R.
Posted: 2010-11-30, 10:23 UTC
by jmwap
what would be exactly the way to make "Remove current dir" (and also Add current dir) not appear at all?
My lng file looks like this right now:
English
1147="Remove current dir"
1148="Configure..."
If I just leave
1147=
There is a blank place where that entry would appear in the menu.
I'm trying to make as much space available as possible
thanks!
Posted: 2010-11-30, 18:55 UTC
by HolgerK
what would be exactly the way to make "Remove current dir" (and also Add current dir) not appear at all?
I guess you can't.
The wcmd_eng.lng files holds only the strings but not the menu structure.
I'm trying to make as much space available as possible
Organize your directory hot-list in categorized sub menus.
Regards
Holger
Posted: 2010-11-30, 21:30 UTC
by jmwap
HolgerK wrote:what would be exactly the way to make "Remove current dir" (and also Add current dir) not appear at all?
I guess you can't.
The wcmd_eng.lng files holds only the strings but not the menu structure.
I'm trying to make as much space available as possible
Organize your directory hot-list in categorized sub menus.
Regards
Holger
ok thanks anyway
Posted: 2015-08-22, 15:18 UTC
by Wojtek
Hi!
I cannot add *.lng files, just *.mnu
Is there any way in TC8.51a to change the [Remove current dir] Item?
P.S.:
Currently I solved it this way:
I added an item at the end of the list with the title "prevent &removing" and w/o command.
Thus, if i press [Ctrl]+[D]+[R] accidentally, this dummy item is selected end even if I confirm with [Enter], nothing happens.
Nevertheless it would be nice to change the "Remove current Dir"
EDIT: What about a confirmation dialog?
Posted: 2015-08-27, 16:12 UTC
by Jon Lee
theosdikaios wrote:May be it is enough to changing the hotkey. This can be done by changing your WCMD_xxx.LNG (xxx stands for your language) entry with number 1147 from "&Remove current dir" to e.g. "Remove current dir &®".
HolgerK wrote:2
theosdikaios
In case you are using the built in English language, you don't need to download the complete "wcmd_eng.lng" file.
Just create a new file
wcmd_eng.lng wrote:English
1147="®emove current dir"
and select "English(wcmd_eng.lng)" from the language configuration.
Thank you both for the input! I (as I'm sure many others do too) use Directory Hotlists *extensively* and the conflicts with Add/Remove/Configure are one of the few usability sore spots I run into with TC.
I really appreciate the tips! Cheers!

Re:
Posted: 2019-02-24, 16:01 UTC
by DrShark
Vittorio wrote: 2015-08-22, 15:18 UTCWhat about a confirmation dialog?
I support the suggestion of this addition for "
Remove current dir" action.