Multi Commander Support Forum
Multi Commander => Script => Topic started by: Matthias515566 on April 04, 2016, 08:47:59
-
New Tab on Target Panel with File/Folder Focus Path
MC.Explorer.NewBrowser PATH="${focusfilepath}" SIDE=TARGET
Show the Focus File/Folder Path on Target Panel
MC.Explorer.Goto TARGET="${focusfilepath}"
-
I wad going to make this bcommand better, but it don“t work.
MC.Explorer.Goto TARGET="${focusfilepath}"
MC.SetActivePanel LEFT
Maybe someone have a idea how to make this work.
-
What is not working ?
MC.Explorer.NewBrowser PATH="${focusfilepath}" SIDE=TARGET
Open a new tab that will show the path of the file in focus.
What do you want to happen?
-
Ahh wait..
You want to open a new tab with path X, but KEEP the current panel as active.. ?
Then you had it almost correct
MC.SetActivePanel PANEL=INACTIVE
(you forgot the PANEL= part)
and you need INACTIVE because the first command NewBrowser or Goto Will steal focus..
-
Thank you very much. Now it works. Yes i forget "Panel=". And "INACTIVE" is not in the documentation.
Folder-Path without new tab on the other side:
MC.Explorer.Goto TARGET="${focusfilepath}"
MC.SetActivePanel PANEL=INACTIVE
Folder-Path in a new Tab on the other side:
MC.Explorer.NewBrowser PATH="${focusfilepath}" SIDE=TARGET
MC.SetActivePanel PANEL=INACTIVE