Is there something like "Folder Tab Sets" ?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
CADDrone
Junior Member
Junior Member
Posts: 8
Joined: 2023-04-11, 19:09 UTC

Is there something like "Folder Tab Sets" ?

Post by *CADDrone »

Hey all,

I've been using Total Commander for over 20 years now. So, I'm not a novice by any means. I've taken the time to search the Forum and the FAQ for this and none of the results appear to be what I'm looking for. Perhaps I'm just not searching the right terms, but I tried "Tabs, Folder Tabs, Folder Tab Sets, +folder +tab +set" and maybe a few others.

Anyways, what I'm wondering is if there may be a way within TC, to create a set of Folder Tabs such that I can switch between the sets based on the function or project I'm working on?

For instance, as my environment is now, I have random Folder Tabs A ~ Z open at any given time on either Left or Right and just switch between the tabs as needed. What I would like to do is create Folder Tab Sets that open my predetermined tabs, then I can just select the Tab Set I want and do my thing.

For Example:
Folder Tab Set-A = Left Tabs: A, D, N, P, Q & Right Tabs: B, C, E, F, H, T, Z
Folder Tab Set-B = Left Tabs: G, H, K & Right Tabs: J, L, P
Folder Tab Set-C = Left Tabs: F, J, U, Y & Right Tabs: L, M, T

Thanks,
CADDrone
TC License Holder #103720
CADDrone
hi5
Power Member
Power Member
Posts: 637
Joined: 2012-11-03, 11:35 UTC
Contact:

Re: Folder Tab Sets

Post by *hi5 »

You can save TABS into a tab file, and then use the OPENTABS command in say a button bar or usercmd to open that file

Look for:

OPENTABS <filename>=-3;Open tabs from saved .tab file (supports modifiers L and R)
APPENDTABS <filename>=-4;Append tabs to existing tabs (supports modifiers L and R)
SAVETABS <filename>=-13;Save tabs to .tab file, active side
SAVETABSL <filename>=-14;Save tabs to .tab file, left side
SAVETABSR <filename>=-15;Save tabs to .tab file, right side
SAVETABS2 <filename>=-16;Save tabs to .tab file, both sides (active=first)
SAVETABS2L <filename>=-17;Save tabs to .tab file, both sides (left=first)
SAVETABS2R <filename>=-18;Save tabs to .tab file, both sides (right=first)

and usercmd.ini (user commands) so you can assign them to shortcuts as well e.g. ctrl-shift-1 open project tabs one, ctrl-shift-2 open project tabs two

Edit: see also "Folder Tabs" in the help file https://ghisler.ch/help/totalcmd/folder_tabs.htm
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Is there something like "Folder Tab Sets" ?

Post by *ghisler(Author) »

You can also save/load tabs via right click context menu of the tabs.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Is there something like "Folder Tab Sets" ?

Post by *petermad »

FYI - my Extended Menus (see signature) has a whole section dedicated to folder tabs: https://tcmd.madsenworld.dk/extmenutabs.png
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Ambaquista
Junior Member
Junior Member
Posts: 64
Joined: 2005-05-27, 11:11 UTC
Location: Luanda, Angola

Re: Is there something like "Folder Tab Sets" ?

Post by *Ambaquista »

A simple question:
A buttom in Default.bar to switch between 2 or more tab files (1.tab 2.tab ... n.tab) (all the bar and tab files in the %COMMANDER_PATH% directory)
I tried a lot! I searched the forum, I created .bar and .tab files, I see similar examples (in Petermad Extended Menus and others), but didn´t work.
Any help?
User avatar
Dalai
Power Member
Power Member
Posts: 9965
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Is there something like "Folder Tab Sets" ?

Post by *Dalai »

2Ambaquista
Try this as button command:

Code: Select all

OPENBAR %COMMANDER_PATH%\some.bar
It might work without a path, but I'm not sure. Put such a button on every bar you need to switch to another bar. And that's it.

I use Dalai.bar as my default bar which has a button to switch to Playground.bar on it. And Playground.bar has a button to switch back to Dalai.bar.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Is there something like "Folder Tab Sets" ?

Post by *petermad »

2Ambaquista
A buttom in Default.bar to switch between 2 or more tab files (1.tab 2.tab ... n.tab) (all the bar and tab files in the %COMMANDER_PATH% directory)
You can make a button to switch to another tab file, but not to switch between tab fles - you need one button per tab file.

You can open new tab files with the OPENTABS command and you append more tabs with the APPENDTABS command.

If you have many tab files you want to switch between, then I suggest that you make a new tabs.bar file with buttons for all the tab files you want to open, and that you make a button in your default.bar to open this tabs.bar, with the option "Show as menu" selected.

To make the new tabs.bar file just right-click at the default button bar and choose "Change", Then click the "Add" button. Then click the "Change >>" buton and choose "Add Subbar >>". Now type tabs.bar and click "Open". Now a new tabs.bar is created.
In your default button bar now click the new button and the new button bar will open already supplied with a return button. Now make new buttons in this button bar with commands like: OPENBAR %COMMANDER_PATH%\mytabs1bar etc.

Go back to your default bar, right-click on the new tabs button and choose "Change". Now select the box "Show as menu". and click OK.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Ambaquista
Junior Member
Junior Member
Posts: 64
Joined: 2005-05-27, 11:11 UTC
Location: Luanda, Angola

Re: Is there something like "Folder Tab Sets" ?

Post by *Ambaquista »

Thanks Dalai and Petermad!
I'll work the rest of the holiday (Workers' Day) with your suggestions.
Thanks again
User avatar
Ambaquista
Junior Member
Junior Member
Posts: 64
Joined: 2005-05-27, 11:11 UTC
Location: Luanda, Angola

Re: Is there something like "Folder Tab Sets" ?

Post by *Ambaquista »

I gave up the button! I created entries in the Start Menu! One for each Tabs Set.
2 clicks and that's it!
Thanks
Post Reply