Page 1 of 1

Multiple sets of tabs, with active selectable through list

Posted: 2017-07-04, 16:22 UTC
by MortenZdk
Suggestion: Multiple sets of directory tabs, with active set selectable through drop down list or hotkey

Motivation: The directories I need to access depends on the assignment that I do. Over the day/week I work interleaved on different assignments, so it would be very convenient to have an easy way to change between the active set of directory tabs, while saving the current set of directory tabs for later use.

Posted: 2017-07-04, 17:30 UTC
by Horst.Epp
No need for this suggestion :)
TC already has commands like the following:

OPENTABS <filename> ;Open tabs from saved .tab file
APPENDTABS <filename> ;Append tabs to existing tabs

SAVETABS <filename> ;Save tabs to .tab file, active side
SAVETABSL <filename> ;Save tabs to .tab file, left side
SAVETABSR <filename> ;Save tabs to .tab file, right side
SAVETABS2 <filename> ;Save tabs to .tab file, both sides (active=first)
SAVETABS2L <filename> ;Save tabs to .tab file, both sides (left=first)
SAVETABS2R <filename> ;Save tabs to .tab file, both sides (right=first)

Using this list and em_commands you can build menus and buttons as you like

Posted: 2017-07-04, 17:33 UTC
by Dalai
You can already do that by saving the tab sets in .tab files. Right-click on a tab and select "Save tabs to file" or "Save tabs on both sides to file". Loading a tab set is done the same way (select "Load tabs from file..." of course).

Regards
Dalai

Thanks for clarification of existing commands

Posted: 2017-07-05, 19:59 UTC
by MortenZdk
I have actually used these features, for saving to .tab file and reloading later, at some occasions, and I think the presence of these commands shows that that there is an need for saving and loading different sets of tabs. However, the use of commands, and manually saving and loading tabs, can be more user friendly.

Just like you could just as well use the "cd <directory>" windows command to change directory, there is still the directory hotlist (Ctrl+D) feature, since having this readily available is just more user friendly.

Best regards Morten