Author Topic: Add "Yes to all" to "Close Tab?" dialogue.  (Read 8702 times)

Appliance5712

  • Newbie
  • *
  • Posts: 3
    • View Profile
Add "Yes to all" to "Close Tab?" dialogue.
« on: May 10, 2024, 10:18:35 »
I switch between different sets of locked tabs often using custom buttons, and because I have 11 or so locked tabs in each tab set, when I open a new set I have to hammer the 'Yes' button 11 times when the 'Close Tab?' dialogue appears.

There are two solutions I can see:

a 'Yes to all' button in the "Close Tab?" dialogue

or

a parameter that can be used with the MC.LoadTabs command that forces closing all locked tabs without asking

Having both options would be amazing!

Thank you for your work on multicommander, it's a fantastic software!
« Last Edit: May 10, 2024, 10:20:14 by Appliance5712 »

AlanJB

  • VIP Member
  • *****
  • Posts: 433
  • VERY old Programmer
    • View Profile
Re: Add "Yes to all" to "Close Tab?" dialogue.
« Reply #1 on: May 11, 2024, 11:00:49 »
You have:

Code: [Select]
MC.CloseAllTabs DONOTASK;
Does that help?

Appliance5712

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Add "Yes to all" to "Close Tab?" dialogue.
« Reply #2 on: May 13, 2024, 13:50:17 »
It does! Thank you!

In case anyone else has the same issue, here's what I have in a 'Multi-Script' command:

MC.CloseAllTabs DONOTASK;

MC.LoadTabs FILENAME="C:\tabfile.mctab" REPLACE;