Multi Commander Support Forum

Multi Commander => Script => Topic started by: Mathias (Author) on August 23, 2011, 18:41:15

Title: Change path in both Left and Right panel
Post by: Mathias (Author) on August 23, 2011, 18:41:15
Change the path in both the left and right panel with the hit of hotkey.

Command Type : Custom Command

MC.Explorer.Goto LEFT="D:\Projects\Documents" RIGHT="E:\Shared\Documents"



* If left or right panel is not a explorer panel (eg. search is open and in focus). Then a new tab will be opened on that side.
Title: Re: Change path in both Left and Right panel
Post by: Dhanish on June 21, 2014, 16:21:41
How can I obtain one more tab in the right panel showing another folder?
Title: Re: Change path in both Left and Right panel
Post by: Mathias (Author) on June 21, 2014, 17:49:40
For opening new tabs check out the command
MC.Explorer.NewBrowser (http://multicommander.com/docs/customcommands_list#mc.explorer.newbrowser)
Title: Re: Change path in both Left and Right panel
Post by: Dhanish on June 22, 2014, 03:51:58
Thank you for the reply. Finally, I was able to succeed in what I wanted. I had made the mistake of writing several lines in Custom Commands. But using the Multiscript below solved the problem.

MC.CloseAllTabs RIGHTONLY
MC.Explorer.Goto LEFT="Path1"
MC.Explorer.NewBrowser SIDE=RIGHT PATH="PathA" 
MC.Explorer.NewBrowser SIDE=RIGHT PATH="PATHB"

I started trying out MultiCommander only yesterday, and it seems to be a great program! Thank you for your effort!