SaveTabs

Title SaveTabs
File Name SaveTabs.txt
Description Save tabs in the current panel
Author Vochomurka
Parameters -
Plugin called win
Icons
Version 1.0
Updated on 16.09.2005
local hh = win.handle("c=TTOTAL_CMD")
win.postmessage(hh, 0x400+51, 3009, 0)
*keys {down 6}{enter}1^{enter}
if (validpath("path_to_tabs\1.tab"))
	*keys {right}{enter}
endif

Comments:

Sometimes it happens that you temporarily need some specific tab set either stored in the *.tab file or created manually. But in this case the current tab set will be lost. To save it, you should do the following:

To prevent yourself from losing your time it's convenient to do it with one mouse click or one hotkey.

The path_to_tabs corresponds to the TabDir configuration key. Generally speaking, you could indicate another path or no path at all, but it's more reliable to do as prescribed by the configuration.

If file 1.tab exists, it will be rewritten, otherwise created. To restore tabs, give the OPENTABS 1.tab command.


Main Page Total Commander PowerPro