Extended Menus for TC 7.04a

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

Hi Petermad. Thanks much for your extended menus!

Your new Menu "Windows XP" is helpful. In file "wcmd_ext1_eng.ini" there are defined icons to show in the menu. Here is an example:

[em_keyboard]
cmd=control.exe keyboard
menu=Keyboard Properties
button=main.cpl,7

I think the parameter "button" define the icon to show in the menu. Am I right? But there is no icon shown.

Only standard icons from Wcmicons.dll are shown for me.
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Matthias030
The button=main.cpl,7 refers to an icon alright, but it only works when you use the em_command in the button bar.

Userdefined icons pr. application is not (yet) supported for the menu - here only icons from wcmicons.dll or wciconex.dll are supported - if the commands are mapped to an internal command in either wcmicons.inc or wciconex.inc.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, this is because the loading of icons from various dlls and exes would be slowed down a lot by background virus scanners...
Author of Total Commander
https://www.ghisler.com
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

My modification of Windows XP menu:

Code: Select all

  POPUP "&Accessibility"
    MENUITEM "&Accessibility Wizard", em_accwiz
    MENUITEM "&Magnifier", em_magnify
    MENUITEM "Microsoft &Narrator", em_narrator
    MENUITEM "&On Screen Keyboard", em_osk
    MENUITEM "&Utility Manager", em_utiman
  END_POPUP
  POPUP "&Communications"
    MENUITEM "&Chat", em_winchat
    MENUITEM "&Dial-up Connection", em_rasphone
    MENUITEM "&HyperTerminal", em_hypertrm
    MENUITEM "&NetMeeting", em_conf
    MENUITEM "Net&work Connections", em_ncpa
    MENUITEM "Network &Setup Wizard", em_hnetwiz
    MENUITEM "New Connec&tion Wizard", em_netshell
    MENUITEM "&Phone Dialer", em_dialer
    MENUITEM "&Remote Assistance", em_rcimlby
    MENUITEM "Remote D&esktop Connection", em_mstsc
    MENUITEM "&Windows Messenger", em_msmsgs
    MENUITEM "W&ireless Network Setup Wizard", em_netsetup2
  POPUP "Control Pa&nel"
    MENUITEM "&Accessibility Options", em_access
    MENUITEM "Add &Hardware Wizard", em_hdwwiz
    MENUITEM "Add or Remov&e Programs", em_appwiz
    POPUP "Administrati&ve Tools"
      MENUITEM "Ad&ministrative Tools", em_admintools
      MENUITEM "&Certificates", em_certmgr
      MENUITEM "Componen&t Services", em_comexp
      MENUITEM "Computer &Management", em_compmgmt
      MENUITEM "&Device Manager", em_devmgmt
      MENUITEM "Disk De&fragmenter", em_dfrgb
      MENUITEM "Disk Mana&gement", em_diskmgmt
      MENUITEM "&Event Viewer", em_eventvwrb
      MENUITEM "&Indexing Service", em_ciadv
      MENUITEM "&Local Users and Groups", em_lusrmgr
      MENUITEM "&ODBC Data Source Administrator", em_odbcad32b
      MENUITEM "&Performance", em_perfmonb
      MENUITEM "&Removable Storage Operator Requests", em_ntmsoprq
      MENUITEM "R&emovable Storage", em_ntmsmgr
      MENUITEM "&Server Extensions Administrator", em_fpmmc
      MENUITEM "Ser&vices", em_services
      MENUITEM "S&hared Folders", em_fsmgmt
      MENUITEM "&Windows Management Infrastructure (WMI)", em_wmimgmt
    END_POPUP 
    MENUITEM "Automati&c Updates", em_wuaucpl
    MENUITEM "&Date and Time Properties", em_datetime
    MENUITEM "Displa&y Properties", em_desktop
    MENUITEM "&Folder Options", em_folders
    MENUITEM "F&onts", em_fonts
    MENUITEM "&Game Controllers", em_joy
    MENUITEM "&Intel(R) Graphic Driver", em_intelgrachics
    MENUITEM "Internet Properties", em_inetcpl
    MENUITEM "&Java Control Panel", em_jpicpl32
    MENUITEM "&Keyboard Properties", em_keyboard
    MENUITEM "&Mouse Properties", em_mouse
    MENUITEM "&Network Connections", em_netconnections
    MENUITEM "Network Setup Wi&zard", em_netsetup
    MENUITEM "&Phone and Modem Options", em_telephony
    MENUITEM "Power Options Properties", em_powercfg
    MENUITEM "Printers and Fa&xes", em_printers
    MENUITEM "&Quicktime Settings", em_quicktime
    MENUITEM "&Regional and Language Options", em_international
    MENUITEM "&Scanners and Cameras", em_scannercamera
    MENUITEM "Schedu&led Tasks", em_schedtasks
    MENUITEM "Sounds and Audio Devices Properties", em_mmsys
    MENUITEM "Speech Properties", em_speech
    MENUITEM "System Properties", em_sysdm
    MENUITEM "&Taskbar and Start Menu Properties", em_taskbar
    MENUITEM "TweakUI", em_tweakui
    MENUITEM "&User Accounts", em_userpasswords
    MENUITEM "&Windows Firewall", em_firewall
    MENUITEM "Windows Security Center", em_wscui
    MENUITEM "Wireless Link", em_infrared
    MENUITEM "Wireless Network Setup Wizard", em_wirelessnet
  END_POPUP
  POPUP "&Entertainment"
    MENUITEM "&DirectX Diagnostic Tool", em_dxdiag
    MENUITEM "D&VD Player", em_dvdplay
    MENUITEM "&Master Volume", em_sndvol32
    MENUITEM "M&edia Player", em_mplay32
    MENUITEM "&Sound Recorder", em_sndrec32
    MENUITEM "&Windows Media Player", em_wmplayer
    MENUITEM "Windows Media &Player 6.4", em_mplayer2
  END_POPUP
  POPUP "&Games"
    MENUITEM "&FreeCell", em_freecell
    MENUITEM "Internet &Backgammon", em_bckgzm
    MENUITEM "Internet C&heckers", em_chkrzm
    MENUITEM "Internet &Hearts", em_hrtzzm
    MENUITEM "Internet &Reversi", em_rvsezm
    MENUITEM "Internet Sp&ades", em_shvlzm
    MENUITEM "&Minesweeper", em_winmine
    MENUITEM "&Pinball", em_pinball
    MENUITEM "&Solitaire", em_sol
    MENUITEM "Sp&ider", em_spider
    MENUITEM "&The Microsoft Hearts Network", em_mshearts
  END_POPUP
  POPUP "&Programs"
    MENUITEM "&Calculator", em_calc
    MENUITEM "Character &Map", em_charmap
    MENUITEM "Clip&board", em_clipbrd
    MENUITEM "&Explorer", em_explorer
    MENUITEM "&Notepad", em_notepad
    MENUITEM "&Paint", em_mspaint
    MENUITEM "&Private Character Editor", em_eudcedit
    MENUITEM "&Windows Movie Maker", em_moviemk.exe
    MENUITEM "Wor&dPad", em_write
  END_POPUP
  POPUP "&System Tools"
    MENUITEM "&About Windows", em_winver
    MENUITEM "&Bluetooth File Transfer Wizard", em_fsquirt
    MENUITEM "&Control Panel", em_control
    MENUITEM "Create A Shared &Folder Wizard", em_shrpubw
    MENUITEM "&Disk Cleanup", em_cleanmgr
    MENUITEM "D&isk Defragmenter", em_dfrg
    MENUITEM "Dr. Watso&n for Windows", em_drwtsn32
    MENUITEM "Driver &Verifier Manager", em_verifier
    MENUITEM "&Event Viewer", em_eventvwr
    MENUITEM "&Help and Support", em_helpctr
    MENUITEM "&Microsoft Windows Update", em_wupdmgr
    MENUITEM "&ODBC Data Source Administrator", em_odbcad32a
    MENUITEM "&Performance", em_perfmon
    MENUITEM "&Registry Editor", em_regedit
    MENUITEM "&Scanner and Camera Wizard", em_wiaacmgr
    MENUITEM "S&QL Server Client Network Utility", em_cliconfg
    MENUITEM "S&ynchronization", em_mobsync
    MENUITEM "System Con&figuration Editor", em_sysedit
    MENUITEM "System Configuration &Utility", em_msconfig
    MENUITEM "System Restore", em_rstrui
    MENUITEM "&Task Manager", em_taskmgr
  END_POPUP
I just sorted it, added hotkeys and renamed Windows Task Manager to Task Manager. Sorry, I don't remember if I didn't removed something.

The hotkeys aren't good but there just are too much things.
Mind 2 rules: For each letter, the first position starting with it (if there's any) will get it. Otherwise - one that has a word starting with it (not necessarilly the first one).
I think it's the most natural system.
There's probably no better match that follows this.

Sorry for long post, I didn't want to move it somewhere.

ADDED: Hmm..I posted it before testing. It has some problems with POPUP "Administrati&ve Tools". Can anybody tell me what's wrong?
Last edited by m^2 on 2007-03-08, 22:29 UTC, edited 1 time in total.
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2m^2
There is missing an END_POPUP before:

POPUP "Control Pa&nel"


POPUP "&System Tools" abcdehimnopqrsytuvw
should be:
POPUP "&System Tools"
Last edited by petermad on 2007-03-08, 22:43 UTC, edited 2 times in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

petermad wrote:2m^2
There is missing an END_POPUP before:

POPUP "Control Pa&nel"
Argh! That's it. I spent much time looking below :D
Thanks!
petermad wrote: POPUP "&System Tools" abcdehimnopqrsytuvw
should be:
POPUP "&System Tools"
Temporary information ;)
Removed alredy.
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I just sorted it
So did I - I just don't like alphabetical sorting - I sort in the sequence that makes sense to me - mostly according to importance (to me). That's also why I stick to FAT32 on most of my HD's - that way I can sort folders and files manually. My Windows Start Menu isn't sorted alphabetically either. Neither is the content of my clothing cabinets and drawers ;-)

But of course others might like alphabetical sorting better - so thank you for your initiative :-)
renamed Windows Task Manager to Task Manager
I have tried consistantly to use the name shown in the title bar of each application - and in my English Windows XP SP2 Home it shows "Windows Task Manager" - that's why I used that in the menu.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

petermad wrote:
renamed Windows Task Manager to Task Manager
I have tried consistantly to use the name shown in the title bar of each application - and in my English Windows XP SP2 Home it shows "Windows Task Manager" - that's why I used that in the menu.
Yep, it makes sense. I didn't new there's "Windows" in the title :lol:
User avatar
Hacker
Moderator
Moderator
Posts: 13141
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

m^2,
Hmm..I posted it before testing. It has some problems with POPUP "Administrati&ve Tools". Can anybody tell me what's wrong?
Server protection most probably.

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.
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

Hacker wrote:m^2,
Hmm..I posted it before testing. It has some problems with POPUP "Administrati&ve Tools". Can anybody tell me what's wrong?
Server protection most probably.

Roman
Nope. I was refering to a problem with this menu - I got "unexpected END_POPUP" error message, the END_POPUP after "Administrati&ve Tools". As petermad wrote, it was a lack of END_POPUP before "Control Pa&nel".
Thanks anyway ;)
tosbsas
Senior Member
Senior Member
Posts: 428
Joined: 2003-12-19, 13:12 UTC
Location: Lima, Perú
Contact:

Post by *tosbsas »

could you post the changed version as a file?

Ruben
A New Generation transformed by the Power of God
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
tosbsas
Senior Member
Senior Member
Posts: 428
Joined: 2003-12-19, 13:12 UTC
Location: Lima, Perú
Contact:

Post by *tosbsas »

thanks

Ruben
A New Generation transformed by the Power of God
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

2petermad

Hi!

In wcmd_ext1_eng.lng and wcmd_ext2_eng.lng you use:

Code: Select all

6613="Search &for:"
6614="Replace &with:"
Those strings don't have accelerators in the internal TC language file and don't work anyway, even with assigned accelerators.

Also, the string

Code: Select all

6605="[C]  &Counter"
seems to define both the Name Counter and the Ext Counter in MRT. However with the internal english language only the first button has accelerator.


On a second thought this whole post should go to the bug reports section.
But first please confirm, maybe I'm missing something.
TC for Linux please!
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2roentgen
All of those 3 hotkeys are in the "official" wcmd_eng.lng - available at: https://plugins.ghisler.com/lang700/wcmd_eng.zip - so that's where I got them from.

I will remove the hotkeys from MY English .lng files.

And yes this should release a bug report concerning the wcmd_eng.lng file found in https://plugins.ghisler.com/lang700/wcmd_eng.zip.
Last edited by petermad on 2007-03-10, 12:24 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply