Page 1 of 2

New command - change button bar file under cursor with dialog window

Posted: 2023-05-04, 11:48 UTC
by Gral
I suggest to add a command similar to "cm_ButtonConfig" for file under cursor or modify this command to accept file name.

Re: Edit button bar

Posted: 2023-05-04, 14:06 UTC
by sa16
2Gral
Button Bar... from the context menu, is this not what is required?

Re: Edit button bar

Posted: 2023-05-04, 14:21 UTC
by Gral
Change through dialog window - NOT direct edit in text editor!

Re: Edit button bar

Posted: 2023-05-04, 15:11 UTC
by sa16
2Gral
I'm talking about Button Bar... in the context menu for the open button bar.
Sorry for bad English!

Re: Edit button bar

Posted: 2023-05-04, 15:15 UTC
by ghisler(Author)
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.

Re: Edit button bar

Posted: 2023-05-04, 15:17 UTC
by Gral
DELETED - out of context

Re: Edit button bar

Posted: 2023-05-04, 15:19 UTC
by Gral
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.
NO! i mean edit functionality for bar files in dialog window WITHOUT need of loading button bar!

I know how it works and what is intend - it's very easy - it's suggestion for NEW fuction.

Re: Edit button bar

Posted: 2023-05-04, 15:23 UTC
by ghisler(Author)
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.

Re: Edit button bar

Posted: 2023-05-04, 15:30 UTC
by Gral
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.

Re: Edit button bar

Posted: 2023-05-04, 15:44 UTC
by sa16
don't think anymore OPENBARMENU
I realized: you don't even want to look at the button bar, but you want to immediately edit it in dialogue.

Re: Edit button bar

Posted: 2023-05-04, 15:53 UTC
by Gral
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.

Re: Edit button bar

Posted: 2023-05-04, 16:29 UTC
by Fla$her
Support++. To run by Enter through internal associations, this would be useful.

Re: Edit button bar

Posted: 2023-05-04, 17:07 UTC
by jinsight
Support++

Re: New dialog window to edit button bar file under cursor

Posted: 2023-05-04, 18:12 UTC
by petermad
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.
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" option

Re: New command - change button bar file under cursor with dialog window

Posted: 2023-05-04, 18:38 UTC
by Gral
2 petermad - please note that this topic is neither about OPENBAR nor OPENBARMENU command.