Edit built-in menus?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Ivan
Junior Member
Junior Member
Posts: 17
Joined: 2009-06-04, 13:47 UTC

Edit built-in menus?

Post by *Ivan »

Hi all,

In the directory hotlist I create my own entries, and would really like to be able to activate one of them instantly by pressing 'c' (either because the name of the entry begins with 'c' or contains '&c'). Unfortunately the hotlist menu contains the built-in entry "&Configure..." which interferes with this.

Is it possible to edit the built-in menus so I can free up 'c' for my own hotlist entries? I had a quick look, and the closest I found was LANGUAGE\WCMD_ENG.MNU and TOTALCMD.INC, but neither of them seemed to do it.

Thanks,
Ivan
Ivan
Junior Member
Junior Member
Posts: 17
Joined: 2009-06-04, 13:47 UTC

Post by *Ivan »

I just noticed a thread a couple down from here that says "If you use an external language file, you can also remove the "&" from the WCMD_???.LNG file used in your TC:". That's just what I want to do, but...

1. The file they mentioned is similar to the WCMD_ENG.MNU I found but with a LNG extension.

2. My WCMD_ENG.MNU file does not contain any entries for the hotlist menu.

3. In my TC under Configuration/Options/Language, the 'Main menu file' entry is empty. If I set it to my WCMD_ENG.MNU file :-
3a. Will the menu be identical to before, but just now editable?
3b. Can I unload/unset this file if any problems are caused?
3c. Is this even the right file?

Thanks!
User avatar
Vansumsen
Power Member
Power Member
Posts: 761
Joined: 2003-11-09, 08:16 UTC
Location: Belgique
Contact:

Post by *Vansumsen »

:arrow: Ivan

Welcome on board !

Just edit the number post 1148="&Configure..." into wcmd_***_eng.lng

You can find an wcmd_***_eng.lng here : http://www.totalcmd.net/plugring/TcMenu_en_750.html

Friendly

Paul
Ouistiti, #11943

L'important n'est pas de convaincre, mais de donner à réfléchir.
The important thing is not to convince, but to incite to think.

1,77245385090552...
gmb
Junior Member
Junior Member
Posts: 60
Joined: 2009-04-15, 19:42 UTC

Post by *gmb »

Here is original Wcmd_eng.lng:

http://www.inet.hr/~egambira/Wcmd_eng.lng
Ivan
Junior Member
Junior Member
Posts: 17
Joined: 2009-06-04, 13:47 UTC

Post by *Ivan »

Have I got this right? ... I take one of those .LNG files, put it somewhere, point to it in Configuration/Options/Language/Main menu file, and it will replace the existing TC menu, and be editable?

That's nifty.

gmb - is the one you linked to the actual, current built-in TC menu? (I'm using 7.04a).

Vansumsen - it looks like the one you pointed to is somebody's (yours?) extended, improved version of the built-in menu. I'll take a look.

Is there any reason why the Directory Hotlist menu is *not* contained in the WCMD_ENG.MNU file? It looks like that file *is* the menu, apart from that ommission.

Ivan
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Many customized---

Post by *Clo »

2Ivan

:) Hello !

• Many users make customized standalone English Language & Menu files… :D
- For instance, mine are THERE :wink:
- This pack is for the 7.04a version.

- It doesn't hurt to use these files, you'll get always a “plus”.

• The Menus feature is very flexible, it's a reason (among a lot) for which we love TC… 8)
Is there any reason why the Directory Hotlist menu is *not* contained in the WCMD_ENG.MNU file?…
- It might be empty, so no benefit in filling it out…
Besides, it's handier to open your favourite folders from a single hot-key…
… and you would be bound to create a lot of users commands to add it in the main Menu-bar…

:mrgreen:  KR
Claude
Clo
Last edited by Clo on 2009-06-08, 16:38 UTC, edited 2 times in total.
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
petermad
Power Member
Power Member
Posts: 16118
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

it looks like the one you pointed to is somebody's (yours?) extended, improved version of the built-in menu
It is actually mine ;-)

If you are want the language file for TC 7.04a you can find it here: http://madsenworld.dk/tcmd/wcmd_eng_updated.zip
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
gmb
Junior Member
Junior Member
Posts: 60
Joined: 2009-04-15, 19:42 UTC

Post by *gmb »

Ivan wrote:gmb - is the one you linked to the actual, current built-in TC menu? (I'm using 7.04a).
That's for TC 7.50 PB4.

Any way, for TC 7.04a...

1. Download the file from petermad's post (wcmd_eng_updated.zip)

2. Extract the file Wcmd_eng.lng and copy it into TC's Language folder

3. Edit Wcmd_eng.lng with Notepad
Remove character & from line: 1148="&Configure..."

4. Save modified file and restart TC
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Ivan,
Have I got this right? ... I take one of those .LNG files, put it somewhere, point to it in Configuration/Options/Language/Main menu file, and it will replace the existing TC menu, and be editable?
Nope. There are two files - .lng is the language file and .mnu is the menu file. You need the .lng file.

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.
Ivan
Junior Member
Junior Member
Posts: 17
Joined: 2009-06-04, 13:47 UTC

Post by *Ivan »

Thank you everyone! That worked just fine.

For future reference, I'm a bit confused about how the INC/MNU/LNG system actually works. I had a look at the help, tutorials and wiki but didn't find an explanation. E.g. how would someone know that 1148 is the entry for the '&Configure...' item on the directory hotlist menu, without asking here?

I might have overlooked a help file or tutorial of course.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

Ivan wrote:E.g. how would someone know that 1148 is the entry for the '&Configure...' item on the directory hotlist menu, without asking here?
I didn't know when I was editing my menus first time and that is why I used Ultra TC Editors :)
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
gmb
Junior Member
Junior Member
Posts: 60
Joined: 2009-04-15, 19:42 UTC

Post by *gmb »

There's three lines with '&Configure...' in LNG file.
One in main section, one under {DLGZIP} (for packers), and one under {LISTER}
It isn't hard to guess the right one.
Post Reply