auto close non locked tabs?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
alxdvc
Posts: 22
Joined: 14 Jun 2015 11:02

auto close non locked tabs?

Post by alxdvc »

Hello!
Is there a script or any other way to make non locked tabs to close after xxx time from opening?
This would be a great tool, as I open many temporary tabs from the locked one, which I never want to keep open and saved as the many layout, so then I have to close them.


thanks
Alex

jupe
Posts: 2788
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: auto close non locked tabs?

Post by jupe »

Although it is possible to setup a tiny external app on a timer that invokes that task (or maybe task scheduler) at regular intervals it could interrupt you, alternatively you could just use the keyboard shortcut occasionally:

Ctrl+Shift+W

or set the task up as a toolbar button or use it from the tab context menu, anyway below is a script that should be close to what you require (only if you choose to do it manually). I am assuming your main locked tab is in position 1, otherwise modify it: seltab 1; #352;

You'll need to add to the script if you want it to apply to both panes simultaneously.

RalphM
Posts: 1935
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: auto close non locked tabs?

Post by RalphM »

Why don't you:

1. create a tabset with all the tabs you want to keep open
2. open however many temporary tabs until it gets too crowded
3. just use Tabset/Revert to saved and you have your clean slate back

I have several tabsets for different tasks and switch between them as needed.
Ralph :)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)

RalphM
Posts: 1935
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: auto close non locked tabs?

Post by RalphM »

Btw there's no need to double post in different sections of this forum.
Ralph :)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)

alxdvc
Posts: 22
Joined: 14 Jun 2015 11:02

Re: auto close non locked tabs?

Post by alxdvc »

thanks Ralph!

but how do I create a tabset with all the tabs I want to keep open?

RalphM
Posts: 1935
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: auto close non locked tabs?

Post by RalphM »

By having the tabs you want open and then save it as a tabset, for further info the help file is your friend.
Ralph :)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)

Post Reply