Auto-save tabs

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
saper_2
Junior Member
Junior Member
Posts: 3
Joined: 2013-09-22, 19:25 UTC
Location: PL

Auto-save tabs

Post by *saper_2 »

Hi,

I miss auto save of open tabs. Right now tabs are saved only when we close TC, but not minimize (or hide window?), or in timed manner (like auto-save of excel spreadsheet every 5min).


I don't think this should be too difficult to implement :)



Why? Recently I started to get trouble with my PC and it crashing totally randomly (after few hours or few days ; I'll fix it eventually but for now I have to live with it :( ), and opening TC with "old" tabs after crash is a bit annoying :| (like seeing again tabs from 2-or-more weeks ago when I lastly properly closed TC)
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: Auto-save tabs

Post by *Fla$her »

saper_2 wrote: 2022-08-06, 10:19 UTCI miss auto save of open tabs.
What do you mean by "miss"? Did TC have such functionality?

Solution:
1. Create a custom em_SAVETABS command, where in the Command: and Parameters: fields, specify SAVETABS2L and %Z%A, respectively.
2. Install the latest beta version of autorun.wdx and paste the following code into autorun.cfg:

Code: Select all

Set Tab '"%COMMANDER_PATH%\Tabs\Last.tab"'
While 1
   Sleep(10000)
   CommandExec('em_SAVETABS', %Tab%)
Wend
OR

Code: Select all

While 1
   Sleep(10000)
   CommandExec('em_SAVETABS', GetEnv('COMMANDER_PATH') & '\Tabs\Last.tab')
Wend
3. Specify your path to the tab file in the first line.
4. Instead of 10000 ms, enter your value.
5. Restart TC.
Overquoting is evil! 👎
Post Reply