Multi Commander Support Forum

Multi Commander => Support and Feedback => Topic started by: MrPapaya on January 01, 2019, 17:58:12

Title: NEWTAB option in button wizard mode
Post by: MrPapaya on January 01, 2019, 17:58:12
I used the button editor Wizard mode to add a new button.  I drag a path to the button for my  'C:\portable'  folder.

I selected the 'Go To File'  and  'Open path in new tab'  properties.

Which give me this  MC.Explorer.Goto PATH="C:\PORTABLE" NEWTAB


However, the button always opens in the current tab.  It never actually starts a new tab. Is this a bug, or possibly a setting in the configuration is preventing the new tab from opening?
Title: Re: NEWTAB option in button wizard mode
Post by: Jungle on January 03, 2019, 10:01:29
Use

Code: [Select]
MC.Explorer.NewBrowser
Title: Re: NEWTAB option in button wizard mode
Post by: MrPapaya on January 06, 2019, 05:51:25
Thank you. That does work fine.

Must be a bug or something that Mathias overlooked.
Title: Re: NEWTAB option in button wizard mode
Post by: AlanJB on January 06, 2019, 11:51:46
I don't believe it's a bug or an oversight.

Code: [Select]
MC.Explorer.Goto means open the specified path in the current tab, and

Code: [Select]
MC.Explorer.NewBrowser means open a new tab at the path specified.

See the docs here: http://multicommander.com/docs/customcommands_list#mc.explorer.goto (http://multicommander.com/docs/customcommands_list#mc.explorer.goto)

and here: http://multicommander.com/docs/customcommands_list#mc.explorer.newbrowser (http://multicommander.com/docs/customcommands_list#mc.explorer.newbrowser)
Title: Re: NEWTAB option in button wizard mode
Post by: MrPapaya on February 10, 2019, 06:25:37
Please give a directions I posted in the start of the thread a try.

Try it in two blank buttons.

On one, set the checkmark for the 'Open path in new tab'  property.  On the other button, don't set the checkmark.

Both buttons seem to do exactly the same thing, regardless of the checkmark.  :o  Neither opens the folder in a new tab.