Dual Pane - Start with a current cloned tab

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
kalkas789
Posts: 9
Joined: 05 Oct 2022 22:03

Dual Pane - Start with a current cloned tab

Post by kalkas789 »

Hello,

Is it possible that a dual pane opens with the cloned current tab. Lets say that I am currently in a single pane mode and that my current tab is C:\users\xyz\. I wish to open a dual pane which has the satrting point C:\users\xyz\, the same one before open a dual pane. Is it possible? When I open a dual pane, it starts on a random location.

When dealing with dual pane, I want a similar behaviour as when creating a new tab. The new tab starts with the same location as the previous tab. Is it possible to do that with dual panes,i.e., the starting location is the same as the other pane?

Kind regards,
Aleksandar

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Dual Pane - Start with a current cloned tab

Post by highend »

Use a script. e.g. something like:

Code: Select all

    if (!get("#800")) {
        $path = tab("get", "path");
        #800; // Open 2nd pane
        focus "P2";
        goto $path;
        #353; // Close all other tabs
        focus "P1";
    }
One of my scripts helped you out? Please donate via Paypal

kalkas789
Posts: 9
Joined: 05 Oct 2022 22:03

Re: Dual Pane - Start with a current cloned tab

Post by kalkas789 »

Hello,

Thanks for your reply.

I am not sure how to implement this script in the app. I am afraid that I am not so well versed with scripts and practical knowledge of how to use scripts.

Best regards,
Aleksandar

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Dual Pane - Start with a current cloned tab

Post by highend »

Animation.gif
Animation.gif (677.05 KiB) Viewed 414 times
One of my scripts helped you out? Please donate via Paypal

GreetingsFromPoland
Posts: 216
Joined: 29 Sep 2022 14:20

Re: Dual Pane - Start with a current cloned tab

Post by GreetingsFromPoland »

this is great and very informative. is it possible for xyplorer to add the functionality that directory opus has for adding script, toolbar buttons, etc. from the forums ? they are formatted in such a way that they can be "drag dropped" from the forum directly onto the software.

after searching their forums, i found a few customs that i wanted and it was incredibly easy to add when they are posted. if xyplorer had something similar, it would help out quite a bit with sharing.

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Dual Pane - Start with a current cloned tab

Post by highend »

Animation.gif
Animation.gif (513.59 KiB) Viewed 390 times
One of my scripts helped you out? Please donate via Paypal

kalkas789
Posts: 9
Joined: 05 Oct 2022 22:03

Re: Dual Pane - Start with a current cloned tab

Post by kalkas789 »

Hello,

Thanks for the animation explaining how to add script in XYplorer! First, I thought that it solved the problem. But the other pane starts always with a particular location. I cannot change it. It does not start at the same location as the first pane.

Best regards,
Aleksandar
Last edited by kalkas789 on 06 Oct 2022 23:02, edited 3 times in total.

GreetingsFromPoland
Posts: 216
Joined: 29 Sep 2022 14:20

Re: Dual Pane - Start with a current cloned tab

Post by GreetingsFromPoland »

amazing! thank you for sharing!

kalkas789
Posts: 9
Joined: 05 Oct 2022 22:03

Re: Dual Pane - Start with a current cloned tab

Post by kalkas789 »

Hello,

Once again, thanks for the animation explaining how to add the script in XYplorer! Please ignore my previous message where I said that the script does not work as expected. I made a mistake in executing it. But the script works as desired, it opens a dual panel with the same location of the first pane. :D

Sorry for my previous message. The script works wonderfully! :D

Best regards,
Aleksandar

Post Reply