"Load tabs from file, replace tabs" swaps folder panels

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
ChapierX
Junior Member
Junior Member
Posts: 26
Joined: 2018-12-14, 19:18 UTC

"Load tabs from file, replace tabs" swaps folder panels

Post by *ChapierX »

"Load tabs from file, replace tabs"

indeed it loads a file tab already saved, but swapping panels:

Is that what it is supposed to do?

I don't want that.
User avatar
Dalai
Power Member
Power Member
Posts: 9963
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: "Load tabs from file, replace tabs" swaps folder panels

Post by *Dalai »

If you start saving tabs on the right side, you have to restore them on the right side to avoid swapping panels.

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
tuska
Power Member
Power Member
Posts: 4049
Joined: 2007-05-21, 12:17 UTC

Re: "Load tabs from file, replace tabs" swaps folder panels

Post by *tuska »

... see also ...
F1 -> Search: opentabs -> Dialog box: Configuration: Change button bar
8. OPENTABS tabfile.tab same, but replaces the current tabs with these new tabs.
To open tabs on the left/right side, append the character L or R to the command, respectively.
16. SAVETABS, SAVETABSL, SAVETABSR, SAVETABS2, SAVETABS2L, SAVETABS2R: save tabs to a specified file.
The first 3 save just one side (active, left, right), the second 3 save both sides (active first, left first, right first).
Examples:
1. Button with command: SAVETABS2L %COMMANDER_PATH%\TABs\STANDARD.tab
    Tooltip: SAVE TABs to this file: STANDARD.tab ... |After clicking on this button(!) || TABs from left window first|SAVETABS2L %COMMANDER_PATH%\TABs\STANDARD.tab
2. Button with command: OPENTABSL %COMMANDER_PATH%\TABs\STANDARD.tab
    Tooltip: TABs "STANDARD.tab" => Attention! |After click they will be activated immediately and REPLACE existing tabs!|TABs from left window first - Focus: Left window|OPENTABSL %COMMANDER_PATH%\TABs\STANDARD.tab

Attention:
In this case it is necessary to press the button, because "Load tabs from file, replace tabs"
would otherwise call the tabs in the active panel and this could be unwanted.

Notes:
- %COMMANDER_PATH% = the path in which the TC program files TOTALCMD.EXE (32bit) or TOTALCMD64.EXE (64bit) are located.
- Maybe there is also something interesting for you here.
User avatar
petermad
Power Member
Power Member
Posts: 16021
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: "Load tabs from file, replace tabs" swaps folder panels

Post by *petermad »

In my Extended Menus you can find a menu item dedicated to Tabs with several extra commands. <http://madsenworld.dk/tcmd/tabsmenu.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
ChapierX
Junior Member
Junior Member
Posts: 26
Joined: 2018-12-14, 19:18 UTC

Re: "Load tabs from file, replace tabs" swaps folder panels

Post by *ChapierX »

@petermad:
it seems your solution is the most simple, am I right?
However I'm afraid of adding Extended Menus that then I have a problem with the common use of TC and I'm already quite customized TC. So what are the consequences of using your Extended Menus? Is it going to preseve my customization? Your Extended Menu is it just the commands that can be accessed with acceleration keys?
User avatar
petermad
Power Member
Power Member
Posts: 16021
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: "Load tabs from file, replace tabs" swaps folder panels

Post by *petermad »

Your Extended Menu is it just the commands that can be accessed with acceleration keys?
No, it is much more than that.

Unless you have made customizations to your current .mnu or .lng file, you will have all you customizations at hand after installing the Extended Menus.

Installing my Extended Menus does not write to any of your existing files, except for changing the entries in wincmd.ini for language and menu file (LanguageIni= and Mainmenu=).

If you don't like my Menus you simply just change your language back to your original setting from TC's configuration dialog - and all is back to the way it was before.
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
ChapierX
Junior Member
Junior Member
Posts: 26
Joined: 2018-12-14, 19:18 UTC

Re: "Load tabs from file, replace tabs" swaps folder panels

Post by *ChapierX »

thanks so much, I'll go to the Extended :)
Post Reply