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

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

User avatar
Gral
Power Member
Power Member
Posts: 1609
Joined: 2005-01-26, 15:12 UTC

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

Post by *Gral »

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.
sa16
Senior Member
Senior Member
Posts: 344
Joined: 2021-09-10, 07:15 UTC

Re: Edit button bar

Post by *sa16 »

2Gral
Button Bar... from the context menu, is this not what is required?
User avatar
Gral
Power Member
Power Member
Posts: 1609
Joined: 2005-01-26, 15:12 UTC

Re: Edit button bar

Post by *Gral »

Change through dialog window - NOT direct edit in text editor!
sa16
Senior Member
Senior Member
Posts: 344
Joined: 2021-09-10, 07:15 UTC

Re: Edit button bar

Post by *sa16 »

2Gral
I'm talking about Button Bar... in the context menu for the open button bar.
Sorry for bad English!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50840
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Edit button bar

Post 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.
Author of Total Commander
https://www.ghisler.com
User avatar
Gral
Power Member
Power Member
Posts: 1609
Joined: 2005-01-26, 15:12 UTC

Re: Edit button bar

Post by *Gral »

DELETED - out of context
Last edited by Gral on 2023-05-04, 16:14 UTC, edited 3 times in total.
User avatar
Gral
Power Member
Power Member
Posts: 1609
Joined: 2005-01-26, 15:12 UTC

Re: Edit button bar

Post 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.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50840
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Edit button bar

Post 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.
Author of Total Commander
https://www.ghisler.com
User avatar
Gral
Power Member
Power Member
Posts: 1609
Joined: 2005-01-26, 15:12 UTC

Re: Edit button bar

Post 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.
sa16
Senior Member
Senior Member
Posts: 344
Joined: 2021-09-10, 07:15 UTC

Re: Edit button bar

Post 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.
User avatar
Gral
Power Member
Power Member
Posts: 1609
Joined: 2005-01-26, 15:12 UTC

Re: Edit button bar

Post 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.
Fla$her
Power Member
Power Member
Posts: 3015
Joined: 2020-01-18, 04:03 UTC

Re: Edit button bar

Post by *Fla$her »

Support++. To run by Enter through internal associations, this would be useful.
Overquoting is evil! 👎
User avatar
jinsight
Senior Member
Senior Member
Posts: 299
Joined: 2003-02-25, 19:47 UTC
Location: Wooster, Ohio, USA

Re: Edit button bar

Post by *jinsight »

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
User avatar
petermad
Power Member
Power Member
Posts: 16104
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

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

Post 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
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
User avatar
Gral
Power Member
Power Member
Posts: 1609
Joined: 2005-01-26, 15:12 UTC

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

Post by *Gral »

2 petermad - please note that this topic is neither about OPENBAR nor OPENBARMENU command.
Post Reply