Author Topic: NEWTAB option in button wizard mode  (Read 6515 times)

MrPapaya

  • Junior Member
  • **
  • Posts: 16
    • View Profile
NEWTAB option in button wizard mode
« 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?

Jungle

  • Contributor
  • VIP Member
  • *****
  • Posts: 510
  • Old Skull
    • View Profile
Re: NEWTAB option in button wizard mode
« Reply #1 on: January 03, 2019, 10:01:29 »
Use

Code: [Select]
MC.Explorer.NewBrowser

MrPapaya

  • Junior Member
  • **
  • Posts: 16
    • View Profile
Re: NEWTAB option in button wizard mode
« Reply #2 on: January 06, 2019, 05:51:25 »
Thank you. That does work fine.

Must be a bug or something that Mathias overlooked.

AlanJB

  • VIP Member
  • *****
  • Posts: 432
  • VERY old Programmer
    • View Profile
Re: NEWTAB option in button wizard mode
« Reply #3 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

and here: http://multicommander.com/docs/customcommands_list#mc.explorer.newbrowser

MrPapaya

  • Junior Member
  • **
  • Posts: 16
    • View Profile
Re: NEWTAB option in button wizard mode
« Reply #4 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.