Default Button in Menu-Buttonbar

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Clas Hortien
Member
Member
Posts: 198
Joined: 2003-03-03, 15:03 UTC

Default Button in Menu-Buttonbar

Post by *Clas Hortien »

Hi,

it would be very helpful if you could add a functionality to the buttonbar that is shown as menu. When you click with Alt- or Ctrl- or Shift- on the main button (that normally opens another bar as menu) a "default" entry from the menu is chosen. So as an example I have a button Games in my Buttonbar that opens a menubar like this

Age of Empires
Skyrim
Chess
Tetris

When I click on the Games button this menu opens normal, but when I click on the Games button with e.g. Ctrl-Click Skyrim starts, because I have (somehow) defined this as the default action for this menubar.

I hope I could make it clear.
Many thanks for this great tool, I use it everyday since 20+ years.

Clas
Fla$her
Power Member
Power Member
Posts: 2318
Joined: 2020-01-18, 04:03 UTC

Re: Default Button in Menu-Buttonbar

Post by *Fla$her »

That would be nice. With the help of TCFS2, this can be done now. For example:
TCFS2.exe /ef "if(eval(pressedCtrl),em(em_Skyrim),tem(`em_OpenBarMenu "%COMMANDER_PATH%\Bars\this.bar"`))"

, where em_Skyrim starts the program, and em_OpenBarMenu in the first two fields consists of OPENBARMENU and %A.
Overquoting is evil! 👎
Post Reply