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

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

Post by *petermad »

Not that I am opposed to a new cm_ButtonConfig command - but if it is not implemented, here is a workaround

put these commands in usercmd.ini

Code: Select all

[em_openbuttonbar]
cmd=OPENBAR
param=%P%N

[em_editbuttonbar]
cmd=em_openbuttonbar,cm_ButtonConfig,cm_VisButtonbar,cm_VisButtonbar
menu=Edit buttonbar file under cursor

If you don't have a buttonbar open, you can remove the last cm_VisButtonbar from the em_editbuttonbar command, to not load any buttonbar after the editing.
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 »

It still requires the button bar to load.
User avatar
petermad
Power Member
Power Member
Posts: 16104
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

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

Post by *petermad »

It still requires the button bar to load.
Sure - as I said it is a workaround, but the edited buttenbar is automatically unloaded afterwards, and the previous (horisontal) buttonbar is reinstated.
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
Post Reply