Author Topic: Switching Windows  (Read 1270 times)

wynford

  • Junior Member
  • **
  • Posts: 30
    • View Profile
Switching Windows
« on: January 17, 2025, 00:46:13 »
Everytime I open MC, the right window is highlighted, my D drive, how can I make it so that the left window is highlighted, my C drive?

Matthias515566

  • Power Member
  • ****
  • Posts: 326
    • View Profile
Re: Switching Windows
« Reply #1 on: January 17, 2025, 10:48:58 »
You can save a Tab Session, and when reopened, the same panel will be highlighted as it was when saved.

wynford

  • Junior Member
  • **
  • Posts: 30
    • View Profile
Re: Switching Windows
« Reply #2 on: January 18, 2025, 01:15:35 »
Hmmm didn't work for me... no problem though, I can live with it.

Jungle

  • Contributor
  • VIP Member
  • *****
  • Posts: 562
  • Old Skull
    • View Profile
Re: Switching Windows
« Reply #3 on: January 18, 2025, 19:32:51 »
@wynford
You can create a custom command which activates the left panel, and then launch MC with the command line parameter -AutoRun=[your custom command]

AlanJB

  • VIP Member
  • *****
  • Posts: 438
  • VERY old Programmer
    • View Profile
Re: Switching Windows
« Reply #4 on: January 19, 2025, 12:44:08 »

@wynford
Try the following.

1. Configure Right panel as you wish with default ("starting") tab selected
2. Configure Left panel as you wish with default ("starting") tab selected
3. Menu -> File -> Tab and choose "Save tabs to file..."
4. In the dialog that opens choose "Save All Tabs" and click "Save"
5. Create a new MultiScript UDC as below - bind it to a hotkey and/or add to a menu if you wish

Code: [Select]
// Reload Default Tab Layout

@var $xTabFile = "${mcconfigpath}" + "\\MultiCommander Tab Config.mctab";
MC.CloseAllTabs DONOTASK;
MC.LoadTabs REPLACE FILENAME={$xTabFile};
MC.SetActiveTab PANEL=RIGHT TAB=1;
MC.SetActiveTab PANEL=LEFT TAB=1;