Author Topic: duplicate tab in panel  (Read 15956 times)

karthik

  • Active Member
  • ***
  • Posts: 56
    • View Profile
duplicate tab in panel
« on: December 20, 2012, 08:16:27 »
I know that we can duplicate a tab in panel-1 to a tab in panel-2 by using Ctrl+.

But this replaces the existing tab in panel-2 when the duplication occurs. I would like to create a new tab and duplicate. Is there a short-cut for that? OR how do I replace the Ctrl+. shortcut to do this job?

Thanks.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4416
    • View Profile
    • Multi Commander
Re: duplicate tab in panel
« Reply #1 on: December 20, 2012, 09:47:08 »
Ctrl+. will not duplicate.. it will sync the path so that target panel is the same are the source panel (currently in focus)
To duplicate the current tab you can press Ctrl+T.  (Right click on the tab to see more commands )

karthik

  • Active Member
  • ***
  • Posts: 56
    • View Profile
Re: duplicate tab in panel
« Reply #2 on: December 20, 2012, 11:31:06 »
Ctrl+T duplicates the tab in the same panel. Is there a way to get the duplicate tab in the other panel instead of same panel.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4416
    • View Profile
    • Multi Commander
Re: duplicate tab in panel
« Reply #3 on: December 20, 2012, 11:58:37 »
There is a command to move tab to other side.. you should be able to create a script so it first call the Dupicate Tab command then then Move to other side.

User Defined Command of type CustomCommand can run an internal command with the command "MC.Run ID=<command id>"

And the "Command ID" it is found in the Keyboard customization dialog under the "name tag", For example for the command "Move Tab - Move Active panel to other side" you will see that it has a the value "Core.1061" This is an internal reference to this command and can be used from CustomCommand scripts.

But Custom Commands can only run one command. And you want to run two.. (Dupe and move )
But the more advanced Multi-Script Can also run CustomCommands and can run multiple commands of them.

So.

Create a User Defined Command of "Multi-Script" type
and insert
Code: [Select]
MC.RunCmd ID=Core.1322
MC.RunCmd ID=Core.1061

Then save the command and then assign a hotkey/menu option for the command.
« Last Edit: December 20, 2012, 12:08:03 by Mathias (Author) »

karthik

  • Active Member
  • ***
  • Posts: 56
    • View Profile
Re: duplicate tab in panel
« Reply #4 on: December 20, 2012, 12:12:06 »
Is there a shortcut key to move tab to another panel?

karthik

  • Active Member
  • ***
  • Posts: 56
    • View Profile
Re: duplicate tab in panel
« Reply #5 on: December 20, 2012, 12:23:12 »
Thanks so much.