Page 1 of 1

New Tab in Other Pane

Posted: 29 Sep 2019 10:19
by Kristof
Is it possible to have an option to create a new tab in the other pane? Same like New Tab (Crtl-T), just in the other pane (e.g. Ctrl+Shift+T).

Related is the command to move the tab to the other pane.

Cheers,

Kristof

Re: New Tab in Other Pane

Posted: 29 Sep 2019 10:41
by highend
Create a user defined command with the following script

Code: Select all

    focus "PI";
    tab("new");
    focus "PI";
and assign it your preferred shortcut...

Re: New Tab in Other Pane

Posted: 29 Sep 2019 22:34
by Kristof
Thanks, this does what I have requested :-).

However, what I would like is the same path in the other pane. My wish is to create a duplicate tab in the other pane.

Re: New Tab in Other Pane

Posted: 29 Sep 2019 23:20
by highend
Then replace the second line with tab("new", get("path", "i"));

Re: New Tab in Other Pane

Posted: 29 Sep 2019 23:27
by yuyu
Kristof wrote: 29 Sep 2019 22:34 My wish is to create a duplicate tab in the other pane.
Or use this simple script:
#806;
(Copy Tab To Other Pane).

Re: New Tab in Other Pane

Posted: 30 Sep 2019 08:39
by Kristof
highend wrote: 29 Sep 2019 23:20 Then replace the second line with tab("new", get("path", "i"));
It works.
yuyu wrote: 29 Sep 2019 23:27
Kristof wrote: 29 Sep 2019 22:34 My wish is to create a duplicate tab in the other pane.
Or use this simple script:
#806;
(Copy Tab To Other Pane).
And then I have found that the function is already implemented in XYplorer.

Thanks for the help.