Page 1 of 1

New tab on open.

Posted: 24 Jan 2024 23:00
by Geoffww
Hi, Just started using this today.
I've used a lot of file managers over the years, one of my favs was Explorer++ but it had some drawbacks which Xyplorer resolved.

I've set Xy as the default file manager (Win11). I set up some Tabsets with renamed tabs using the second pane. I close Xyplorer completely. I double click on a folder on the Desktop as an example, when Xy launches it opens this folder in my last focused renamed tab.
1. How can I have Xy reset both panes to, for example, "PC" when it's closed.
2. If I keep the last state when closed, how can I have a new folder open up in the first pane and a new tab? I can't find any similarly worded setting in the configuration.

Thanks.

Re: New tab on open.

Posted: 24 Jan 2024 23:12
by highend
E.g. via scripting

1. Configuration | General | Custom Event Actions
Other Events | Exit | Run Script

Code: Select all

focus "PI";
    tab("new", "Computer");
    #353;
    focus "PI";
    tab("new", "Computer");
    #353;
2. The same but instead of the Exit event take the Startup one

Code: Select all

focus "P1";
    tab("new", "Computer");

Re: New tab on open.

Posted: 25 Jan 2024 00:32
by Geoffww
Interesting, thanks.

I did change the "Computer" to "This PC" for Windows 10/11.