New tab on open.

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Geoffww
Posts: 7
Joined: 24 Jan 2024 22:40

New tab on open.

Post 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.

highend
Posts: 14606
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: New tab on open.

Post 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");
One of my scripts helped you out? Please donate via Paypal

Geoffww
Posts: 7
Joined: 24 Jan 2024 22:40

Re: New tab on open.

Post by Geoffww »

Interesting, thanks.

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

Post Reply