Questions about custom columns

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
misvin
Member
Member
Posts: 112
Joined: 2010-08-14, 11:25 UTC

Questions about custom columns

Post by *misvin »

Hi,

Today I have 10 locked Tabs in the left panel and 5 locked Tabs in the right panel. (Total Commander 9.22a version)
All Tabs have the following (default) columns: Name, Ext, Size, Date and Attr.

What is a recommended (short) way to make the following changes in all existing Tabs and in all new Tabs:
1. Rename the "Ext" column to "Extension".
Note: Custom Columns dialog box does not allow you to change the caption of "Name" and "Ext" fields.

2. Rename the "Date" column ([=tc.writedate] field) to "Modified Date".

3. Add a new "Creation Date" column ([=tc.creationdate] field) between the "Date" and the "Attr." columns.

Thanks
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Questions about custom columns

Post by *petermad »

2misvin
1. Rename the "Ext" column to "Extension".
You can "rename" the default extenesion column by editing line 1140 in your language file.

Change for example
1140="Name\nExt\nSize\nDate\nAttr"
to
1140="Name\nExtension\nSize\nDate\nAttr"

If you don't use a language file you can make one, just with tha line.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
misvin
Member
Member
Posts: 112
Joined: 2010-08-14, 11:25 UTC

Re: Questions about custom columns

Post by *misvin »

petermad wrote: 2019-06-11, 08:02 UTC If you don't use a language file you can make one, just with tha line.
I use English version of Total Commander without additional languages.
Quote from TC Help: "The language information for English is stored in the file totalcmd.exe itself, for all other languages in external .LNG and .MNU files. The name of these language files starts with WCMD_ (e.g. WCMD_FRA.LNG and WCMD_FRA.MNU for the French language)."
Can you explain me in details how to create a language file (its name, location and type)?
Do you mean to make changes in the existing C:\Program Files\Total Commander\LANGUAGE\WCMD_ENG.MNU file?
Thanks
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Questions about custom columns

Post by *petermad »

Make a text file with the name wcmd_eng.lng in the Language folder of TC.
Put this content in the file:

Code: Select all

English
1140="Name\nExtension\nSize\nDate\nAttr"
In TC's language setup now choose: "English (wcmd_eng.lng)" in stead of just "English".
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
misvin
Member
Member
Posts: 112
Joined: 2010-08-14, 11:25 UTC

Re: Questions about custom columns

Post by *misvin »

Thanks. It works.

I still wait for answer on my second question: how to make custom-defined columns in a specific tab the default columns for other (existing and new) tabs.
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Questions about custom columns

Post by *petermad »

The only way to change custom columns for existing tabs is manually tab by tab. New tabs will use the columns that are present when they are made.

Maybe someone here can make an AHK script that changes columns in all existing tabs
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply