Author Topic: New simple feature: Single click current tab duplication to other pane directly  (Read 14634 times)

Hgetis

  • Newbie
  • *
  • Posts: 3
    • View Profile
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
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.

AlanJB

  • VIP Member
  • *****
  • Posts: 436
  • VERY old Programmer
    • View Profile
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;

Hgetis

  • Newbie
  • *
  • Posts: 3
    • View Profile
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!


AlanJB

  • VIP Member
  • *****
  • Posts: 436
  • VERY old Programmer
    • View Profile
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  :)