Multi Commander Support Forum

Multi Commander => Feature Requests and Suggestions => Topic started by: Hgetis on January 20, 2021, 10:54:35

Title: New simple feature: Single click current tab duplication to other pane directly
Post by: Hgetis on January 20, 2021, 10:54:35
Greetings to all.
I found via search this topic but I couldn't post: http://forum.multicommander.com/forum/index.php/topic,3694.0.html (http://forum.multicommander.com/forum/index.php/topic,3694.0.html)
So I open this new thread, requesting the same feature.
To be more specific, I used to work on Directory Opus, and I find Multi Commander quite similar so I became a fan.
However, a very useful feature that speed ups multiply productivity is to be able via a single interface button (for example in the right corner of each pane) or/and via a keyboard shortcut, to "send" the open folder/path on the current pane to the other pane (similarily like duplicating the tab and moving it in the other pane, but this requires multiple clicks reducing productivity).

I am requesting though, this simple feature of single click current tab duplication to other pane directly (looks more like a "macro command" of tab dublication+moving to opposite pane).

Is it possible to see that shortly in an program update??

Thank you.

PS. You can merge this thread to the aforementioned thread if you want.
Title: Re: New simple feature: Single click current tab duplication to other pane directly
Post by: AlanJB on January 20, 2021, 11:51:16
This can be done with a User Defined MultiScript Command:  I call mine "Copy Left Tab Right Side" & assigned it to hotkey Ctrl+Right.

Code: [Select]
MC.SetActivePanel PANEL=LEFT;
@var $LeftFocus = StrReplace(GetSourceFocusPath(),"..","");
@var $LeftPath = PathGetPathPart($LeftFocus);

if ( IsFolder($LeftFocus) == 1 )
{
  $LeftPath = $LeftFocus;
}
MC.Explorer.NewBrowser PATH={$LeftPath} SIDE=RIGHT;
MC.SetActivePanel PANEL=RIGHT;

You can do a similar script for "Copy Right Tab Left Side" with:

Code: [Select]
MC.SetActivePanel PANEL=RIGHT;
@var $RightFocus = StrReplace(GetSourceFocusPath(),"..","");
@var $RightPath = PathGetPathPart($RightFocus);

if ( IsFolder($RightFocus) == 1 )
{
  $RightPath = $RightFocus;
}
MC.Explorer.NewBrowser PATH={$RightPath} SIDE=LEFT;
MC.SetActivePanel PANEL=LEFT;
Title: Re: New simple feature: Single click current tab duplication to other pane directly
Post by: Hgetis on January 20, 2021, 12:30:27
This can be done with a User Defined MultiScript Command:  I call mine "Copy Left Tab Right Side" & assigned it to hotkey Ctrl+Right.

Code: [Select]
MC.SetActivePanel PANEL=LEFT;
@var $LeftFocus = StrReplace(GetSourceFocusPath(),"..","");
@var $LeftPath = PathGetPathPart($LeftFocus);

if ( IsFolder($LeftFocus) == 1 )
{
  $LeftPath = $LeftFocus;
}
MC.Explorer.NewBrowser PATH={$LeftPath} SIDE=RIGHT;
MC.SetActivePanel PANEL=RIGHT;

You can do a similar script for "Copy Right Tab Left Side" with:

Code: [Select]
MC.SetActivePanel PANEL=RIGHT;
@var $RightFocus = StrReplace(GetSourceFocusPath(),"..","");
@var $RightPath = PathGetPathPart($RightFocus);

if ( IsFolder($RightFocus) == 1 )
{
  $RightPath = $RightFocus;
}
MC.Explorer.NewBrowser PATH={$RightPath} SIDE=LEFT;
MC.SetActivePanel PANEL=LEFT;

I tested it, seems to work like a charm!
Thank you!

Title: Re: New simple feature: Single click current tab duplication to other pane directly
Post by: AlanJB on January 20, 2021, 12:59:00
This can be done with a User Defined MultiScript Command:  I call mine "Copy Left Tab Right Side" & assigned it to hotkey Ctrl+Right.

Code: [Select]
MC.SetActivePanel PANEL=LEFT;
@var $LeftFocus = StrReplace(GetSourceFocusPath(),"..","");
@var $LeftPath = PathGetPathPart($LeftFocus);

if ( IsFolder($LeftFocus) == 1 )
{
  $LeftPath = $LeftFocus;
}
MC.Explorer.NewBrowser PATH={$LeftPath} SIDE=RIGHT;
MC.SetActivePanel PANEL=RIGHT;

You can do a similar script for "Copy Right Tab Left Side" with:

Code: [Select]
MC.SetActivePanel PANEL=RIGHT;
@var $RightFocus = StrReplace(GetSourceFocusPath(),"..","");
@var $RightPath = PathGetPathPart($RightFocus);

if ( IsFolder($RightFocus) == 1 )
{
  $RightPath = $RightFocus;
}
MC.Explorer.NewBrowser PATH={$RightPath} SIDE=LEFT;
MC.SetActivePanel PANEL=LEFT;

I tested it, seems to work like a charm!
Thank you!

You're welcome  :)