Page 1 of 1
timeframe to tabs?
Posted: 08 Dec 2024 06:56
by alxdvc
Hi all,
Maybe I askedthis before, but I can't find it: it's a whish or perhaps it's perhaps this is already an available feature? : is it possible to give a time deadline to tabs life?
For example, I have a dozen of default tabs which are permanently there. From those, I open up other tabs, which then I have to close, and I never need to keep them opened. So , is it possible to instruct that non default tabs will disappear after 12h from opening them ?
Also, can this instruction come with an auto save setting of the layout?
thank you!
Alex
Re: timeframe to tabs?
Posted: 08 Dec 2024 08:19
by highend
Possible via scripting but with no 100% exact timeframe because a trigger must happen, e.g. a tab change
Re: timeframe to tabs?
Posted: 08 Dec 2024 08:31
by alxdvc
thanks Highend, would you be able to share an example of this script? A trigger can be anything, also the midnight, like passing from a day to another, I reckon this should be able to be setup?
Re: timeframe to tabs?
Posted: 08 Dec 2024 08:46
by highend
No, I have no sample for this kind of stuff (wouldn’t use this myself).
A trigger can only be a CEA action, no time / date change itself.
Eg if you open a tab which will have a lifetime of 12 hours and there is no activity for 13 hours then the purging can only be done with the next trigger happening
At least if the whole thing isn’t done via an external tool eg done in AHK
Re: timeframe to tabs?
Posted: 08 Dec 2024 08:52
by alxdvc
thanks again highend, I just don't understand anything of what you said, sorry

Re: timeframe to tabs?
Posted: 09 Dec 2024 15:14
by eil
alxdvc wrote: ↑08 Dec 2024 06:56
I open up other tabs, which then I have to close, and I never need to keep them opened. So , is it possible to instruct that non default tabs will disappear after 12h from opening them ?
If the thing with exactly 12hours can be skipped, you can simply set a tabset layout and make XY each time start with that - so next time/day you run XY, it will have only those pre-created tabs and none of those your opened last time.(sorta "auto-close" you want)
If you definitely want a 12 hour "timer" = you'll have to make a script, that triggers when tabs are changed(when you switch from to another), which would constantly save how long each tab is still there in bar(yeap, you'll need each time to check all tabs that they are still in place, prolonging their time-stamp). Eventually, after 12 hours and on another tab switch, script could notify you that particular tab(s) is ought to be closed, due to timer's end.
So you really should consider, if you wish to have such "smart behaviour"(along with tedious script creating) or can live with mentioned above tabsets.