How to change some command keys
Moderators: Hacker, petermad, Stefan2, white
How to change some command keys
I am new in TC. I have a question about TC. Is there any way to change some command keys? For example, I am used to Explorer's keys for rename(F2) and refresh(F5). However, the rename and reread command keys in TC are different.
Another question is how to expand a tree view by pressing * key? It is a standard key in Microsoft tree view control, but TC does not support it. Any way to achieve the same result or define a key for this new command?
I like TC any way!
D. Chu
Another question is how to expand a tree view by pressing * key? It is a standard key in Microsoft tree view control, but TC does not support it. Any way to achieve the same result or define a key for this new command?
I like TC any way!
D. Chu
But what about directory expanding (* in Explorer). Honestly, I never use that, I always expand only these dirs that I need to expand.
There is a workaround however - and you can do it with just one key: just press and hold down the Right Arrow key. Depending on the number of directories after a couple of seconds or minutes or half an hour you will have the tree fully expanded
.
No, no, I'm just kidding! I do not know how to achieve it easily. But I never need it. You can use Find File to find a directory or to display the list of all directories (Find File / tab Advanced / Attributes / Directory - mark the selection then Start Search then Feed to Listbox).
Would this be enough? Maybe, tell us what for do you need * (expand brach) in practice and maybe we will think of some workaround or provide other way to perform it.
Or maybe somebody knows how to do branch expand on tree view?
There is a workaround however - and you can do it with just one key: just press and hold down the Right Arrow key. Depending on the number of directories after a couple of seconds or minutes or half an hour you will have the tree fully expanded

No, no, I'm just kidding! I do not know how to achieve it easily. But I never need it. You can use Find File to find a directory or to display the list of all directories (Find File / tab Advanced / Attributes / Directory - mark the selection then Start Search then Feed to Listbox).
Would this be enough? Maybe, tell us what for do you need * (expand brach) in practice and maybe we will think of some workaround or provide other way to perform it.
Or maybe somebody knows how to do branch expand on tree view?

A command---
2IGL
Hello Chris !
• Avoid to use it for the root of a big drive, or else you'll have to wait for a long while… :P
• I don't understand why that command is located in the "Commands" menu, instead the "Show" menu... ?
Kind regards,
Claude
Clo

• What about the command:Or maybe somebody knows how to do branch expand on tree view?
Code: Select all
cm_DirBranch=2026
• I don't understand why that command is located in the "Commands" menu, instead the "Show" menu... ?

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
Re: A command---
The reason of using * to expand a full sub tree displayed is that it is a very convenient way to get a whole picture of a subtree and jump to a dir quickly. I understand that many people don't know it. However, it is a default function for all MS tree controls. When you know it, you may like it and get used to it (image that you could avoid to click + many times to a whole subtree displayed if knew one * key to get the same result).Clo wrote:2IGL
Hello Chris !
• What about the command:Or maybe somebody knows how to do branch expand on tree view?I don't get itCode: Select all
cm_DirBranch=2026
• Avoid to use it for the root of a big drive, or else you'll have to wait for a long while…![]()
• I don't understand why that command is located in the "Commands" menu, instead the "Show" menu... ?
Kind regards,
Claude
Clo
I tried to remapping F2 and F5. Thanks for the help. The only thing I think TC missing is that after remapping a default cmd such as F5, the UI button for F5 is still for copy even though it does not work any more. It should be able to update UI after remapping or provide option for user to update its caption (such as F5=cm_RereadSource;Refresh).
chudq,
HTH
Roman
You can download the Egnlish language file from http://clubtotal.free.fr/modules.php?name=Downloads&d_op=viewdownload&cid=30 , edit string 1076, place this file into the Language dir in TC's dir and then select this as the language to use in TC's Options - Configuration - Language.The only thing I think TC missing is that after remapping a default cmd such as F5, the UI button for F5 is still for copy even though it does not work any more. It should be able to update UI after remapping or provide option for user to update its caption (such as F5=cm_RereadSource;Refresh).
HTH
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.