Multi Commander > Support and Feedback
New user with questions
2wheelrider:
Regarding my question about how to control which panel has focus on startup @Mathias (Author) wrote:
--- Quote from: Mathias (Author) on March 17, 2026, 16:15:27 ---3. I think the panel you specifiy last will be in focus. but use TabSession if you want more control
--- End quote ---
No joy with either of these suggestions.
I created two Tab Sessions, each with a different panel having focus but the Right Folder Tree panel always has focus regardless which Tab Session I load.
I then did some tests using the -L and -R command line parameters. These tests were closes and opens of Multi Commander with different panes active at close. The Right panel always has focus on startup. I tested switching the order of the -L and -R parameters but no joy.
Also, I remain unable to figure out how to have Folder Trees open on startup when using the -L and -R command line parameters. Please point me to where the configuration option is to enable this.
MY ultimate goal, if possible, is to have Multi Commander always open to the specified paths, with a Folder Tree pane open for each, and with the left Explorer Pane having focus.
FWIW, I am using Windows Explorer compatibility look'n feel.
Jungle:
--- Quote from: 2wheelrider on March 18, 2026, 18:28:01 ---MY ultimate goal, if possible, is to have Multi Commander always open to the specified paths, with a Folder Tree pane open for each, and with the left Explorer Pane having focus.
--- End quote ---
If you launch MC with the command line params, you can specify User Defined Command.
--- Code: ---MC.SetActivePanel PANEL=LEFT
--- End code ---
This activates left panel.
--- Code: ---MC.RunCmd ID="ExplorerPanel.41070"
--- End code ---
This toggles a panel tree. Each panel has its own tree, so it is possible to have some tabs with trees and some -- without.
In the Explorer Panel settings there's an option Display > Tab > Default Settings for new tabs > Show folder tree. So you may open desired tabs, then activate left panel on startup via command line and UDC.
You can get a lot of info in the official online documentation.
2wheelrider:
--- Quote from: Jungle on March 19, 2026, 09:43:38 ---In the Explorer Panel settings there's an option Display > Tab > Default Settings for new tabs > Show folder tree. So you may open desired tabs, then activate left panel on startup via command line and UDC.
--- End quote ---
That option is checked but no folder tree is opened when using this command line: MultiCommander.exe -L="C:\" -R="C:\Users\Me\Documents"
I have not yet figure out UDC's so more work to be done there.
--- Quote from: Jungle on March 19, 2026, 09:43:38 ---You can get a lot of info in the official online documentation.
--- End quote ---
I know. The quality and details in the online documentation is commendable. I just can't seem to get things to work the way a understand they should from the documentation. I am using the portable version if that makes any difference.
2wheelrider:
I took a look inside tabsessions.xml and see a <FOCUS> element within the <PANEL> element of the panel that had focus when the tab session is saved. It does not appear to have an effect though. I have saved two tab sessions, one focused in the L panel, the other focused in the right panel. In the .xml, the <FOCUS> element exists within the appropriate <PANEL> element yet focus is always on the Folder Tree in the R panel. Closing the Folder Trees and then saving tab sessions does not make a difference. The R panel is still always given focus. I use the "Vertical layout" view.
Edit: I just tried setting the "Set focus at startup to" configuration to Left/Top. Surprising to me is that this changes the behavior when a tab session is specified in the command line. This gets me pretty close to what I have been trying to accomplish. I still think a look at the <FOCUS> element in tab sessions is warranted.
This is the content of tabsessions.xml following my test with the folder tree open in each panel.
<?xml version="1.0" encoding="UTF-8"?>
<Sessions>
<Session Name="TabSession01" ID="27c597a5a67746fdac3561e9ba876c3f" Slot="1">
<Options>
<Core FileColoring="-1" FileColoringProfile="" ButtonPanel="-1" TabClose="1"/>
</Options>
<Panels>
<Panel Name="Explorer Panel" ID="a4c2985d9c7e4035a3221cfd600171d0">
<Side>L</Side>
<Active>1</Active>
<Focus>1</Focus>
<Path>C:\</Path>
<SortCol>0</SortCol>
<SortAsc>1</SortAsc>
<ViewMode>3</ViewMode>
<ViewModeListWidth>0</ViewModeListWidth>
<ViewModeDetailWidth>0</ViewModeDetailWidth>
<Locked>0</Locked>
<AllowSubPathChange>0</AllowSubPathChange>
<ShowTree>1</ShowTree>
<TreeWidth>519</TreeWidth>
</Panel>
<Panel Name="Explorer Panel" ID="a4c2985d9c7e4035a3221cfd600171d0">
<Side>R</Side>
<Active>1</Active>
<Path>C:\</Path>
<SortCol>0</SortCol>
<SortAsc>1</SortAsc>
<ViewMode>3</ViewMode>
<ViewModeListWidth>0</ViewModeListWidth>
<ViewModeDetailWidth>0</ViewModeDetailWidth>
<Locked>0</Locked>
<AllowSubPathChange>0</AllowSubPathChange>
<ShowTree>1</ShowTree>
<TreeWidth>519</TreeWidth>
</Panel>
</Panels>
</Session>
<Session Name="TabSession02" ID="7059bd25cc6d42ecb5bc38da2ec1ec3e" Slot="2">
<Options>
<Core FileColoring="-1" FileColoringProfile="" ButtonPanel="-1" TabClose="1"/>
</Options>
<Panels>
<Panel Name="Explorer Panel" ID="a4c2985d9c7e4035a3221cfd600171d0">
<Side>L</Side>
<Active>1</Active>
<Path>C:\</Path>
<SortCol>0</SortCol>
<SortAsc>1</SortAsc>
<ViewMode>3</ViewMode>
<ViewModeListWidth>0</ViewModeListWidth>
<ViewModeDetailWidth>0</ViewModeDetailWidth>
<Locked>0</Locked>
<AllowSubPathChange>0</AllowSubPathChange>
<ShowTree>1</ShowTree>
<TreeWidth>519</TreeWidth>
</Panel>
<Panel Name="Explorer Panel" ID="a4c2985d9c7e4035a3221cfd600171d0">
<Side>R</Side>
<Active>1</Active>
<Focus>1</Focus>
<Path>C:\</Path>
<SortCol>0</SortCol>
<SortAsc>1</SortAsc>
<ViewMode>3</ViewMode>
<ViewModeListWidth>0</ViewModeListWidth>
<ViewModeDetailWidth>0</ViewModeDetailWidth>
<Locked>0</Locked>
<AllowSubPathChange>0</AllowSubPathChange>
<ShowTree>1</ShowTree>
<TreeWidth>519</TreeWidth>
</Panel>
</Panels>
</Session>
</Sessions>
Mathias (Author):
Focus is set for the active tab that are the "source" panel.
TabSessions and "Set focus at startup to" settings kind of collides with each other. now you got two thing trying to control it
If you want same setup all the time.. Just exist MC as you want it. then turn off that MC should remember and save setup on exit.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version