Hi everybody,
I apologize if my question may have been already asked.
I cannot find any setting that would allow me to have non-locked tabs automatically closed when exiting the program.
Is it possible to do so?
Many thanks in advance for any answer.
Cheers.
Patrick
Automatically closing non-locked tabs on exit
-
klownboy
- Posts: 4480
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440
Re: Automatically closing non-locked tabs on exit
Hi pg111,
This little script will close all unlocked tabs even if you are currently in a unlocked tab and then exit XYplorer. You could assign it to a Customized Toolbar button (CTB) or catalog item. I'd have to research a bit more to see if it could be run automatically on exit without the last line of code which does the exiting.Good luck,
Ken
This little script will close all unlocked tabs even if you are currently in a unlocked tab and then exit XYplorer. You could assign it to a Customized Toolbar button (CTB) or catalog item. I'd have to research a bit more to see if it could be run automatically on exit without the last line of code which does the exiting.
Code: Select all
#352; //close all "other" unlocked tabs
if (tab("get", "flags") == "") { //close the "current" selected tab if it's unlocked
tab("close", 1) }
exit //Saving depends on user setting in Configuration | Startup & Exit | Save settings on exitKen
-
pg111
- Posts: 2
- Joined: 06 Apr 2012 05:46
Re: Automatically closing non-locked tabs on exit
Thank you so much, Ken, for your input. I will try it asap and let you know.
Cheers.
Patrick
Cheers.
Patrick
XYplorer Beta Club