Editor for main menu file
Moderators: Hacker, petermad, Stefan2, white
- jonathanpoulin
- Member
- Posts: 131
- Joined: 2020-12-19, 12:09 UTC
- Location: Saint-Marc-des-Carrières, QC Canada
- Contact:
Editor for main menu file
Hi,
In the Configuration dialog of TC, in Language section, when I click on the Edit button (to edit the main menu file), it opens the file in Notepad.
Is it possible to change that behaviour to have Notepad++ as main menu editor instead?
Of course, I know that I just need to open it manually within Notepad++. I was just wondering.
In Configuration -> Operation -> Edit/View, I have set Notepad++ as both external viewer and editor but this is not impacting what I explain above.
In the Configuration dialog of TC, in Language section, when I click on the Edit button (to edit the main menu file), it opens the file in Notepad.
Is it possible to change that behaviour to have Notepad++ as main menu editor instead?
Of course, I know that I just need to open it manually within Notepad++. I was just wondering.
In Configuration -> Operation -> Edit/View, I have set Notepad++ as both external viewer and editor but this is not impacting what I explain above.
Thanks,
Jonathan Poulin
Jonathan Poulin
Re: Editor for main menu file
jonathanpoulin wrote: 2024-07-06, 17:46 UTC
Is it possible to change that behaviour to have Notepad++ as main menu editor instead?
No, it isn't
More via google >> editor ini site:ghisler.ch >>> https://www.ghisler.ch/board/viewtopic.php?t=72137
- jonathanpoulin
- Member
- Posts: 131
- Joined: 2020-12-19, 12:09 UTC
- Location: Saint-Marc-des-Carrières, QC Canada
- Contact:
Re: Editor for main menu file
Ok, thanks. That's not really a problem!Stefan2 wrote: 2024-07-06, 18:47 UTCjonathanpoulin wrote: 2024-07-06, 17:46 UTC
Is it possible to change that behaviour to have Notepad++ as main menu editor instead?
No, it isn't
More via google >> editor ini site:ghisler.ch >>> https://www.ghisler.ch/board/viewtopic.php?t=72137
Thanks,
Jonathan Poulin
Jonathan Poulin
Re: Editor for main menu file
I have set my preferred Editor (PSpad) to replace Notepad
using the tool Nodepad Replacer.
Works prefect, and of course also for TC's hard-coded usage of Notepad.
https://www.binaryfortress.com/NotepadReplacer/Download/
using the tool Nodepad Replacer.
Works prefect, and of course also for TC's hard-coded usage of Notepad.
https://www.binaryfortress.com/NotepadReplacer/Download/
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Editor for main menu file
Why not just add a button or start menu entry with command
%commander_ini%
instead? This would open the wincmd.ini with the default editor.
or
"c:\Program files\path\notepad++.exe" "%commander_ini%"
%commander_ini%
instead? This would open the wincmd.ini with the default editor.
or
"c:\Program files\path\notepad++.exe" "%commander_ini%"
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Editor for main menu file
2ghisler(Author)ghisler(Author) wrote: 2024-07-08, 13:27 UTC ...This would open the wincmd.ini with the default editor...
jonathanpoulin here implies editing a .mnu file, not the wincmd.ini one.
And this is a design flaw of the Total Commander which not only lacks a configurable option for a user-preferred editor for those purposes, but it even ignores a user-defined default editor for the .mnu files set for the system as the whole (e.g. I set AkelPad to open .mnu files in the system, the Total Commander still uses notepad in the dialog described by jonathanpoulin).
NB Meanwhile, unlike the above user case, the Total Commander has the semi-hidden option to separately configure editor within the Multi-rename Tool dialog.
2jonathanpoulin
Option A.
Manually create a user button or a user command that will apparently tie your editor with your .mnu file, e.g.:
Code: Select all
TOTALCMD#BAR#DATA
%commander_path%\Plugins\app\Npp\notepad++.exe "%commander_path%\Language\WCMD.MNU"
%commander_path%\Plugins\app\Npp\notepad++.exe
WCMD.MNU notepad++
%commander_path%\Plugins\app\
0
-1
B.1. Associate the .mnu files with your editor (e.g. right-click on a .mnu file - Properties - Edit with ... [Change...], and opt for the notepad++ there.
B.2. Then you can manually create a user button or a user command for which your .mnu filename would be enough.
or
In this case, you can just drag and drop a .mnu file to the Total Commander toolbar, obtaining a button like this:
Code: Select all
TOTALCMD#BAR#DATA
%COMMANDER_PATH%\Language\WCMD.MNU
%commander_path%\Plugins\app\Npp\notepad++.exe
WCMD.MNU
%COMMANDER_PATH%\Language\
0
-1
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
- jonathanpoulin
- Member
- Posts: 131
- Joined: 2020-12-19, 12:09 UTC
- Location: Saint-Marc-des-Carrières, QC Canada
- Contact:
Re: Editor for main menu file
Good to know, I did not know the config MultiRenameEdit. Thanks!beb wrote: 2024-07-09, 04:12 UTC NB Meanwhile, unlike the above user case, the Total Commander has the semi-hidden option to separately configure editor within the Multi-rename Tool dialog.
Thanks,
Jonathan Poulin
Jonathan Poulin
- jonathanpoulin
- Member
- Posts: 131
- Joined: 2020-12-19, 12:09 UTC
- Location: Saint-Marc-des-Carrières, QC Canada
- Contact:
Re: Editor for main menu file
Thanks for that! I appreciate it.beb wrote: 2024-07-09, 04:12 UTC Option A.
Manually create a user button or a user command that will apparently tie your editor with your .mnu file, e.g.:Option B.Code: Select all
TOTALCMD#BAR#DATA %commander_path%\Plugins\app\Npp\notepad++.exe "%commander_path%\Language\WCMD.MNU" %commander_path%\Plugins\app\Npp\notepad++.exe WCMD.MNU notepad++ %commander_path%\Plugins\app\ 0 -1
B.1. Associate the .mnu files with your editor (e.g. right-click on a .mnu file - Properties - Edit with ... [Change...], and opt for the notepad++ there.
B.2. Then you can manually create a user button or a user command for which your .mnu filename would be enough.
or
In this case, you can just drag and drop a .mnu file to the Total Commander toolbar, obtaining a button like this:
Note. The notepad++.exe path and the WCMD.MNU filename there in your case would differ and should reflect the actual ones.Code: Select all
TOTALCMD#BAR#DATA %COMMANDER_PATH%\Language\WCMD.MNU %commander_path%\Plugins\app\Npp\notepad++.exe WCMD.MNU %COMMANDER_PATH%\Language\ 0 -1
I would have been able to get there by myself. My point was in fact to denote that the Edit button in Configuration UI is always using Notepad. This is hard-coded. So, in the next release, maybe this can be fixed somehow.
Thanks,
Jonathan Poulin
Jonathan Poulin