Open a button menu using a command

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Open a button menu using a command

Post by *Lefteous »

Is it possible to open a button's menu using a command?
If not I would like to request this feature?.
I know it's possible to focus the buttonbar now but not the same as invoking a command directly.

It could be a parametrized command named

Code: Select all

OPENBUTTONMENU <FILENAME>
or similar.
pgriffet
Junior Member
Junior Member
Posts: 67
Joined: 2003-03-01, 22:04 UTC
Location: Belgium

Post by *pgriffet »

Take a look at Configuration -> Options -> Misc -> Redefine Hotkeys
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2pgriffet
ok and what is the next step to take?
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

Help wrote:11. OPENBAR saved_bar loads an existing button bar, for example default.bar.
2Lefteous
Is it not the same as you suggest?
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

Post by *StickyNomad »

OPENBAR opens another BAR-file and replaces the currently displayed buttonbar with the specified one. Lefteous looks for a way to open the pulldown menu of a button (when 'show as menu' is activated) with a command.

I support this request if this isn't possible already.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

Support++

I also think that something like cm_ButtonPressX (where X is a number) would be easier to do here than OPENBAR usage ;)
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2fenix_productions
You can see how painful it is to work based on an index when loading custom columns view. It's a pain in the ass. It requires dozens of commands instead of one and reordering will cause chaos...and you can still assign a user command to the parametrized command.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

Lefteous wrote:...and you can still assign a user command to the parametrized command.
I didn't think about that. Point taken.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

*bump* :-D
This would be so handy!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately there is no logical place WHERE to show it, especially when there is no button bar at all...
Author of Total Commander
https://www.ghisler.com
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

I think either at (1) mouse cursor position, at (2) current file in filelist, or as a (3) "menu popup" for the buttonbar. (Menu bar if buttonbar is disabled)

I think 3 would fit.
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

An alternative could be the same position as the directory menu
but I have to admit that this is no easy choice.
User avatar
Mikefield
Power Member
Power Member
Posts: 628
Joined: 2006-02-26, 19:13 UTC
Location: Oberursel, Germany HE

Post by *Mikefield »

Samuel wrote:I think either at (1) mouse cursor position ...
See also my request here, point 3.

mf
Bankster - Word of the Year 2009
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

ghisler(Author) wrote:Unfortunately there is no logical place WHERE to show it, especially when there is no button bar at all...
1. If the current button bar has a button refer to the same file then show the menu under that button (as if the user clicked it).

2. If the button bar is invisible or hasn't a button refer to the same file then show the menu at the same position as the directory menu. (Lefteous suggestion)
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

*Bump*
This could be such a pretty much everything.
- A easy to configure alternative context menu
- A directory hotlist replacer with icons. :)
- etc...

Position as "ts4242" suggests is great.
It also shouldn't need much new code.
Post Reply