New command - change button bar file under cursor with dialog window
Moderators: Hacker, petermad, Stefan2, white
New command - change button bar file under cursor with dialog window
I suggest to add a command similar to "cm_ButtonConfig" for file under cursor or modify this command to accept file name.
Last edited by Gral on 2023-05-04, 18:32 UTC, edited 3 times in total.
Re: Edit button bar
2Gral
Button Bar... from the context menu, is this not what is required?
Button Bar... from the context menu, is this not what is required?
Re: Edit button bar
Change through dialog window - NOT direct edit in text editor!
Re: Edit button bar
2Gral
I'm talking about Button Bar... in the context menu for the open button bar.
Sorry for bad English!
I'm talking about Button Bar... in the context menu for the open button bar.
Sorry for bad English!
- ghisler(Author)
- Site Admin
- Posts: 50834
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Edit button bar
OPENBARMENU is not meant to be used in the button bar. Just use OPENBAR instead and check the option to show it as a menu. Then you have a right click menu item to edit the linked bar.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Edit button bar
DELETED - out of context
Last edited by Gral on 2023-05-04, 16:14 UTC, edited 3 times in total.
Re: Edit button bar
NO! i mean edit functionality for bar files in dialog window WITHOUT need of loading button bar!ghisler(Author) wrote: 2023-05-04, 15:15 UTC OPENBARMENU is not meant to be used in the button bar. Just use OPENBAR instead and check the option to show it as a menu. Then you have a right click menu item to edit the linked bar.
I know how it works and what is intend - it's very easy - it's suggestion for NEW fuction.
- ghisler(Author)
- Site Admin
- Posts: 50834
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Edit button bar
Just change the command from OPENBARMENU to OPENBAR to see what I mean: There is a checkbox "show as menu".
When you now right click on the button, you can choose to edit the linked bar without opening it.
When you now right click on the button, you can choose to edit the linked bar without opening it.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Edit button bar
Once again - i know how it already works, i use it for years - it is NOT what i want. What i want is load button bar for change with GUI dialog, WITHOUT loading directly or any linked buttonbar.
Just new command e.g. EDITBUTTONBAR or e.g. cm_ButtonConfig with filename as parameter.
Also - don't think anymore OPENBARMENU - I see now that mentioning this command by me is very confusing to you.
Just new command e.g. EDITBUTTONBAR or e.g. cm_ButtonConfig with filename as parameter.
Also - don't think anymore OPENBARMENU - I see now that mentioning this command by me is very confusing to you.
Re: Edit button bar
I realized: you don't even want to look at the button bar, but you want to immediately edit it in dialogue.don't think anymore OPENBARMENU
Re: Edit button bar
Exactly!
This is how part of my [Associations] for bar files already looks
Filter33=*.bar
Filter33_open=*
Filter33.icon=%COMMANDER_DRIVE%\PROGRAMY\WINCMD\ADDON\TCMENU2\TCMENU.EXE
Filter33_Show=**"%1"
Filter33_Load as button bar=%COMMANDER_DRIVE%\PROGRAMY\WINCMD\UTILS\TCMC\TCMC.EXE EMem_Openbar1
Filter33_Load as vertical button bar=%COMMANDER_DRIVE%\PROGRAMY\WINCMD\UTILS\TCMC\TCMC.EXE EMem_Openbar2
Filter33_Notepad++=%COMMANDER_DRIVE%\PROGRAMY\TEXT\NOTEPADP\UNICODE\notepad++.exe "%1"
Filter33_TC Menu=%COMMANDER_DRIVE%\PROGRAMY\WINCMD\ADDON\TCMENU2\TCMENU.EXE "%1"
Filter33_TC Menu Dark=%COMMANDER_DRIVE%\PROGRAMY\WINCMD\ADDON\TCMENU2DARK\TCMENU.EXE "%1"
Filter33_TC Toolbar=%COMMANDER_DRIVE%\PROGRAMY\WINCMD\ADDON\TCTOOLBAR\TCToolbar.exe "%1"
Filter33_Bar Editor=%COMMANDER_DRIVE%\PROGRAMY\WINCMD\UTILS\BAREDITOR\BarEditor.exe "%1"
Filter33_Ultra TC Button Bar Editor="%COMMANDER_DRIVE%\PROGRAMY\WINCMD\UTILS\ULTRA_TC_EDITORS\6.42\Button Bar Editor.exe" %1
Where user commands:
[em_Openbar1]
button=wcmicons.dll
cmd=OPENBAR1
menu=Load button bar
param=%P%N
[em_Openbar2]
button=wcmicons.dll
cmd=OPENBAR2
menu=Load vertical button bar
param=%P%N
With "Bar Editor" and "Ultra TC Button Bar Editor" i can load buttonbar file to graphical editor but i want the same with TC native dialog.
("Bar Editor" is a very old utility )
NOTE: some bar files i use ONLY in Internal Associations and i don't want to load it or link to any other bar.
This is how part of my [Associations] for bar files already looks
Filter33=*.bar
Filter33_open=*
Filter33.icon=%COMMANDER_DRIVE%\PROGRAMY\WINCMD\ADDON\TCMENU2\TCMENU.EXE
Filter33_Show=**"%1"
Filter33_Load as button bar=%COMMANDER_DRIVE%\PROGRAMY\WINCMD\UTILS\TCMC\TCMC.EXE EMem_Openbar1
Filter33_Load as vertical button bar=%COMMANDER_DRIVE%\PROGRAMY\WINCMD\UTILS\TCMC\TCMC.EXE EMem_Openbar2
Filter33_Notepad++=%COMMANDER_DRIVE%\PROGRAMY\TEXT\NOTEPADP\UNICODE\notepad++.exe "%1"
Filter33_TC Menu=%COMMANDER_DRIVE%\PROGRAMY\WINCMD\ADDON\TCMENU2\TCMENU.EXE "%1"
Filter33_TC Menu Dark=%COMMANDER_DRIVE%\PROGRAMY\WINCMD\ADDON\TCMENU2DARK\TCMENU.EXE "%1"
Filter33_TC Toolbar=%COMMANDER_DRIVE%\PROGRAMY\WINCMD\ADDON\TCTOOLBAR\TCToolbar.exe "%1"
Filter33_Bar Editor=%COMMANDER_DRIVE%\PROGRAMY\WINCMD\UTILS\BAREDITOR\BarEditor.exe "%1"
Filter33_Ultra TC Button Bar Editor="%COMMANDER_DRIVE%\PROGRAMY\WINCMD\UTILS\ULTRA_TC_EDITORS\6.42\Button Bar Editor.exe" %1
Where user commands:
[em_Openbar1]
button=wcmicons.dll
cmd=OPENBAR1
menu=Load button bar
param=%P%N
[em_Openbar2]
button=wcmicons.dll
cmd=OPENBAR2
menu=Load vertical button bar
param=%P%N
With "Bar Editor" and "Ultra TC Button Bar Editor" i can load buttonbar file to graphical editor but i want the same with TC native dialog.
("Bar Editor" is a very old utility )
NOTE: some bar files i use ONLY in Internal Associations and i don't want to load it or link to any other bar.
Re: Edit button bar
Support++. To run by Enter through internal associations, this would be useful.
Overquoting is evil! 👎
Re: Edit button bar
Support++
License #1945
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
Re: New dialog window to edit button bar file under cursor
Could you please make it so that "Show as menu" is also available wen setting the bar file dynamically in the Parameters fiels -like : %Plocal.bar. in other words just having OPENBAR in the Command field should activate the "Show as menu" optionJust change the command from OPENBARMENU to OPENBAR to see what I mean: There is a checkbox "show as menu".
When you now right click on the button, you can choose to edit the linked bar without opening it.
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
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
Re: New command - change button bar file under cursor with dialog window
2 petermad - please note that this topic is neither about OPENBAR nor OPENBARMENU command.