way to save and load group of multiple locked folder tabs ?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
zaffi
Junior Member
Junior Member
Posts: 34
Joined: 2009-03-24, 08:50 UTC

way to save and load group of multiple locked folder tabs ?

Post by *zaffi »

is there a built-in way to group of locked folder tabs?

each of my projects has its own relevant folders.

i'm looking for a way to open the group of folder that i choose, by the project's name, so all its related (locked) folders will open with it.

i know how to save customized wincmd.ini for each project, and to run a separate TC process for each ini file, which indeed opens all tabs that i defined, (with x_options=1|1|0|0|0|1|0)

but then, each update to a session's INI keys will not be saved to the other ini files.

(i can write a python script to sync the updates, but it's complicated :) )

thanks


edit:
maybe there's a way to load additional keys from another ini to an existing running TC session?
this way i could overwrite only the open-tabs section on each activation, but to use the same wincmd.ini all the time.[/b]
Last edited by zaffi on 2011-10-02, 21:28 UTC, edited 1 time in total.
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, zaffi.

Right click on any folder tab and find these actions:

+ Save tabs to file
+ Save tabs on both sides to file
+ Load tabs from file, keep current
+ Load tabs from file, replace tabs

These should be all actions needed to achieve your goals.
Saving folder tab settings to an external file (not wincmd.ini) and loading folder tab settings from an external file (not wincmd.ini) allows you to save as many folder tab groups as you like and load them from the appropriate tab file irrespective of the wincmd.ini that you are using.

Kind regards,
Karl
User avatar
zaffi
Junior Member
Junior Member
Posts: 34
Joined: 2009-03-24, 08:50 UTC

thanks

Post by *zaffi »

thanks.

(it's embarrassing i didn't see it :)


to complete the reply -- Loading TAB files as "project name":

after saving TAB files,
i added TC start menu items to open these files,
with the command OPENTABS / APPENDTABS
so now i can select the project by it's name
dhilgarth
Junior Member
Junior Member
Posts: 10
Joined: 2011-11-05, 09:02 UTC

Post by *dhilgarth »

Is it possible to automate this somehow?
I would like to add dynamic menu items - one for each saved tab file in a certain directory. And when clicking on such a menu item it should not only replace the current tabs with the ones from the file but save the current tabs to the file they were originally loaded from.
Any hints how to achieve this?
Last edited by dhilgarth on 2011-11-07, 08:09 UTC, edited 1 time in total.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50923
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Just create a button with OPENTABS and no parameters. TC then shows a "file open" dialog with the directory where you last stored a tab file. I recommend that you put all your tab files in a separate location.
Author of Total Commander
https://www.ghisler.com
dhilgarth
Junior Member
Junior Member
Posts: 10
Joined: 2011-11-05, 09:02 UTC

Post by *dhilgarth »

Thanks for the answer.
Sounds good - just one problem: It doesn't automatically save the current tabs to the file they were loaded from. How would I achieve this?
User avatar
zaffi
Junior Member
Junior Member
Posts: 34
Joined: 2009-03-24, 08:50 UTC

Post by *zaffi »

what's the point?

if you use "normal" tabs, they are being saved anyway.
if you use locked tabs, you don't want them to change. that;s the point of locking.
or i didn't understand you
dhilgarth
Junior Member
Junior Member
Posts: 10
Joined: 2011-11-05, 09:02 UTC

Post by *dhilgarth »

The point is, that I want to recreate a functionality similar to Firefox' tab groups feature.
dpcdpc11
Junior Member
Junior Member
Posts: 9
Joined: 2006-08-27, 21:52 UTC

Post by *dpcdpc11 »

I know this is an older topic... but is there such an option in the latest version of total commander that would allow us to group tabs?
Currently I'm using the TWinKey plugin http://en.totalcmd.pl/download/wdx/Oth/TwinKey to color tabs of the same project. Unfortunately there isn't a 64bit version and when coloring at least a tab, I always get a weird flash while hovering over the tab bar.

Tabs Grouping would be a really useful feature for many power users of total commander. Would it be possible such a feature in a near future?
Post Reply