Page 1 of 1

"Bar as menu" editing improvements

Posted: 2018-03-21, 09:54 UTC
by DrShark
Currently there is no easy way to paste copied/cut button to a bar which is shown as menu, as well as to copy a button from it.

To make it work without disable/enable "Show as menu" option each time I copy or paste a button to such bar, for each bar I made "Open this bar..." button which allows to open a bar even when it shown as menu (a button with OPENBAR C:\totalcmd\mybarasmenu.BAR command) and then I copy/cut/paste buttons in opened bar.
Unfortunately, a path to each bar is unique, so it takes some time to make such button for each bar.

My suggestions:
1. Add into context menu of bar as menu the options to copy, cut and paste the button.
2. Because I share some bars with older TC versions, I'll have to create such "Open this bar..." buttons anyway. To make it more easy the process of creation of such button, I suggest to add a possibility to copy the path of bar from "Button bar:" field of "Chang button bar" dialog.

Posted: 2018-03-21, 10:00 UTC
by MVV
I usually just override "as menu" by holding Shift so TC just opens that bar. But I need then to go back to my previous bar.

Posted: 2018-03-21, 10:22 UTC
by DrShark
2MVV
Nice, I didn't know about Shift!

Posted: 2018-03-21, 10:27 UTC
by Horst.Epp
Using the Button Bar Editor from Ultra TC Editors makes this job much easier.

http://utceditors.totalcmd.net/tc_tools/downloads.htm

Posted: 2018-03-22, 02:28 UTC
by petermad
Nice, I didn't know about Shift!
It's not a secret - it is mentioned in the Help:
Dialog box: Configuration - Change button bar
.
.
.
Show as menu: Only for .bar files: Show linked button bar file as a popup menu instead of switching to the new bar. Use Shift to use the other option, e.g. show bar as menu if this option isn't checked.

Posted: 2018-03-22, 11:10 UTC
by ghisler(Author)
But I need then to go back to my previous bar.
The bar is only set temporarily, not stored in wincmd.ini. Just close and re-open Total Commander to return to the main bar.