Multiple Directory Menus?

English support forum

Moderators: Hacker, petermad, Stefan2, white

JimEoff
Junior Member
Junior Member
Posts: 13
Joined: 2004-12-05, 18:55 UTC
Contact:

Multiple Directory Menus?

Post by *JimEoff »

Is it possible to have multiple Directory Menus? I see there is a 2008 thread titled "Script to allow usage of multiple directory menus available" but I figured I'd see if the feature has been added to the program itself.

Thank you
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50929
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

No, this isn't currently supported, sorry.
Author of Total Commander
https://www.ghisler.com
JimEoff
Junior Member
Junior Member
Posts: 13
Joined: 2004-12-05, 18:55 UTC
Contact:

Post by *JimEoff »

OK, hope you'll consider for the future if it's not a hard one to implement. My lists (at home and work) get so long that some of the convenience is lost when they don't fit on the screen and I have to scroll down.

OTOH adding toolbar icons is easy and you can have as many of those as you like. :)
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

JimEoff,
You can use tools like TCMenu or other custom menu tools and use commands that tell TC to change current directory. It would allow you to have as many directory menus (and separate hotkeys for them) as you want.
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

In fact, there is no real need to use a 10 year old addon like TCMenu. By now T.C. can display buttonbars as popup menus of the current buttonbar.

See the chapter "Dialog box: Configuration - Change button bar" in the T.C. help, in particular the section "Show as menu".

This feature is not new in T.C. 8.01, but has been added quite while ago. :wink:

Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

karlchen,
You can't assign hotkeys for such drop-down bars...
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

MVV wrote:karlchen,
You can't assign hotkeys for such drop-down bars...
It is possible by creating an extended command-> assign hotkey for it-> use it in any sub-bar.
JimEoff
Junior Member
Junior Member
Posts: 13
Joined: 2004-12-05, 18:55 UTC
Contact:

Post by *JimEoff »

Thanks to all, and particularly karlchen for the information "Dialog box: Configuration - Change button bar" and the section "Show as menu".
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

ts4242 wrote:It is possible by creating an extended command-> assign hotkey for it-> use it in any sub-bar.
Do you mean that we can show our drop-down menus via hotkey?
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

MVV wrote:
ts4242 wrote:It is possible by creating an extended command-> assign hotkey for it-> use it in any sub-bar.
Do you mean that we can show our drop-down menus via hotkey?
Yes, an extended command like

Code: Select all

OpenBar "C:\Totalcmd\mybar.bar"
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

ts4242, I tried to assign a hotkey for EM with OPENBAR, it doesn't open drop-down menu when I press that hotkey, it simply switches to that BAR...
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

@MVV
I didn't test before, so i was think OPENBAR take care of the option "Show as menu".

@Ghisler
Is it possible to make OPENBAR take care of the option "Show as menu"?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50929
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Currently not - "Show as menu" needs a reference point where to show the menu, and this is currently the button on which you click in the button bar.
Author of Total Commander
https://www.ghisler.com
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

2ghisler(Author)

You can find the reference point by checking if the current bar contains a button opens the same file as the OPENBAR command then use that button as a reference, if there isn't such button then switch to that bar.

In order to not change the behavior of OPENBAR command, you may add a new command e.g. OpenBarAsMenu and use the current position of the mouse pointer as a reference.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think it would be better just to use first buttonbar button's position than current mouse position.
Post Reply