English menu for Total Commander
Preview (JavaScript)
/ Download for TC 6.5x
Preview (JavaScript)
/ Download for TC 7.x
How to switch menus instantly (Thanks Sheepdog)
Description
Total Commander loads the selected menu without a restart by one click onto a menu entry. All that can of course be realized with buttons. It is included in the downloads of the german menus. (Doesn't work with the english menu, because there's no english lang file at this moment!)
From where did I get this?
TC-Forum - [TC Tool] TC Script Editor (also download possible)
TC-Forum - Example for TCScript Editor
Requirements
In the folder LANGUAGE of TC are following files:
wcmd_tb_deu.lng wcmd_deu.lng wcmd_tb_deu.mnu wcmd_deu.mnu
Entry in the first line of wcmd_deu.lng see command SendText in the TCS file:
Deutsch
Entry in the first line of wcmd_tb_deu.lng (merely a copy of the renamed wcmd_deu.lng) see command SendText in the TCS file:
TB-Deutsch
In the relative path out from the TC folder (%COMMANDER_PATH%) to the script folder displayed below, there are following TCScript files:
deu_mnu.tcs tb_deu_mnu.tcs
Contents of the file deu_mnu.tcs:
#include "scripts\VKeys.h" PostCmd(cm_LanguageConfig); SendVKey(VK_TAB, 1); SendText("Deutsch"); SendVKey(VK_RETURN,1);
Contents of the file tb_deu_mnu.tcs:
#include "scripts\VKeys.h" PostCmd(cm_LanguageConfig); SendVKey(VK_TAB, 1); SendText("TB-Deutsch"); SendVKey(VK_RETURN,1);
Entry in the Startermenu of TC (Section [user] in wincmd.ini):
[user] ;... menu46=-- menu47=-TC menu change menu48=Load default menu cmd48=%COMMANDER_PATH%\tc_tools\tcscript\TCScript.exe param48=/run "tc_tools\tcscript\scripts\TC_Menues\deu_mnu.tcs" path48=%COMMANDER_PATH%\ menu49=Load TB menu cmd49=%COMMANDER_PATH%\tc_tools\tcscript\TCScript.exe param49=/run "tc_tools\tcscript\scripts\TC_Menues\tb_deu_mnu.tcs" path49=%COMMANDER_PATH%\ menu50=-- ;...