starting TC with a given set of tabs in L and R
Moderators: Hacker, petermad, Stefan2, white
starting TC with a given set of tabs in L and R
Hi,
I am trying to do this: open TC with for example 3 tabs in the R (r1, r2,r3) and 2 on the L (l1, l2).
I am looking at the commandline info and I see some params that would help but not sure.
/R or /L: I am using this when I pass a single dir, but can they recieve more than one path, in which format? Tried /R=r1,r2,r3 and only one dir is open in a tab, not all 3.
I would like to open TC with only those 5 tabs in total, if when last time I exited I had 10 tabs, I would like those to be removed.
Is this possible? Ideally via command line params or else with some ahk?
thanks
I am trying to do this: open TC with for example 3 tabs in the R (r1, r2,r3) and 2 on the L (l1, l2).
I am looking at the commandline info and I see some params that would help but not sure.
/R or /L: I am using this when I pass a single dir, but can they recieve more than one path, in which format? Tried /R=r1,r2,r3 and only one dir is open in a tab, not all 3.
I would like to open TC with only those 5 tabs in total, if when last time I exited I had 10 tabs, I would like those to be removed.
Is this possible? Ideally via command line params or else with some ahk?
thanks
You could use the /O /T ... start parameters.
A more convenient way (imho) would be to redirect the responsible sections of the wincmd.ini into a separate ini file.
Now can make a backup of your tab config (wincmd_Tabs.ini) and restore it before every TC start with a batch.
A more convenient way (imho) would be to redirect the responsible sections of the wincmd.ini into a separate ini file.
Code: Select all
[left]
RedirectSection = %Commander_Path%\wincmd_Tabs.ini
[lefttabs]
RedirectSection = %Commander_Path%\wincmd_Tabs.ini
[right]
RedirectSection = %Commander_Path%\wincmd_Tabs.ini
[righttabs]
RedirectSection = %Commander_Path%\wincmd_Tabs.ini
Code: Select all
copy /y wincmd_Tabs.bak wincmd_Tabs.ini
start TotalCmd.exe
[quote="ZoSTeR"]You could use the /O /T ... start parameters.
Now can make a backup of your tab config (wincmd_Tabs.ini) and restore it before every TC start with a batch.[/quote]
ok, I see how that could work, I would prefer a commandline solution but I'll experiment with this
thanks
Code: Select all
those I am alraedy using but i cannot open more than one new, and i cannot get rid of older tabs
[quote="ZoSTeR"]A more convenient way (imho) would be to redirect the responsible sections of the wincmd.ini into a separate ini file.
[code][left]
RedirectSection = %Commander_Path%\wincmd_Tabs.ini
[lefttabs]
RedirectSection = %Commander_Path%\wincmd_Tabs.ini
[right]
RedirectSection = %Commander_Path%\wincmd_Tabs.ini
[righttabs]
RedirectSection = %Commander_Path%\wincmd_Tabs.ini
Code: Select all
copy /y wincmd_Tabs.bak wincmd_Tabs.ini
start TotalCmd.exe
ok, I see how that could work, I would prefer a commandline solution but I'll experiment with this
thanks
jmwap, you may use OPENTABS internal command in following way: create user-command that uses OPENTABS to load tabs from specific tab file (e.g. placed in temp folder), then use simple batch that creates that file and asks TC to execute that user-command. E.g. using TCFS2:
Code: Select all
copy my_tabs_file.tab "%TEMP%\tc_tabs.tab"
TCFS2 /ef tem(em_OpenTabsFromTemp)
thanks MVVMVV wrote:jmwap, you may use OPENTABS internal command in following way: create user-command that uses OPENTABS to load tabs from specific tab file (e.g. placed in temp folder), then use simple batch that creates that file and asks TC to execute that user-command. E.g. using TCFS2:Code: Select all
copy my_tabs_file.tab "%TEMP%\tc_tabs.tab" TCFS2 /ef tem(em_OpenTabsFromTemp)
that looks more promising!! I have created a tab file from my current TC and was going to customize it, is there any doc on what [inactivetabs] and [activetabs] mean and the options etc?
ok I think [activetabs] and [inactivetabs] are just L and R but depending which one is active so are named.
But I'm trying to find out what the x_options values mean. I need to know cause I will generate my .tab file externally so I want to configure it properly to use it in TC later.
1_path=C:\\example\abc\
1_options=1|3|1|0|0|0|0
I have not found any details on what those options mean, anyone knows?
thanks
But I'm trying to find out what the x_options values mean. I need to know cause I will generate my .tab file externally so I want to configure it properly to use it in TC later.
1_path=C:\\example\abc\
1_options=1|3|1|0|0|0|0
I have not found any details on what those options mean, anyone knows?
thanks
- chandragor
- Member
- Posts: 128
- Joined: 2005-06-01, 10:10 UTC
- Location: Italy