cm_CloseAllTabs without confirmation ?
Moderators: Hacker, petermad, Stefan2, white
cm_CloseAllTabs without confirmation ?
I have a button for the internal command cm_CloseAllTabs
but this asks for confirmation which I find useless as I would not press this button by accident.
but this asks for confirmation which I find useless as I would not press this button by accident.
Windows 11 Home, Version 24H2 (OS Build 26100.4351)
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.4 x64
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.4 x64
Re: cm_CloseAllTabs without confirmation ?
Code: Select all
cm_VisDirTabs 2916 Show/hide folder tabs

EDIT:
There are examples where no confirmation is required.
(In this case, only the tab for drive C: remains in the left and right TC window).
Re: cm_CloseAllTabs without confirmation ?
cm_VisDirTabs its not a solution as it only toggles the visbility of tabs.tuska wrote: 2022-02-11, 17:55 UTCCode: Select all
cm_VisDirTabs 2916 Show/hide folder tabs
EDIT:
There are examples where no confirmation is required.
(In this case, only the tab for drive C: remains in the left and right TC window).
So when I use that once, tabs are no longer shown at all.
Windows 11 Home, Version 24H2 (OS Build 26100.4351)
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.4 x64
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.4 x64
Re: cm_CloseAllTabs without confirmation ?
With cm_VisDirTabs -> ALL tabs can be hidden and shown again.
It's not clear to me what goal you actually want to achieve.
I currently only know of these two options:
1. Show/hide all tabs -> cm_VisDirTabs
2. Close all tabs except 1 tab (including "locked Tabs" and "Tabs, locked, but directory changes allowed")
With both options, no confirmations are required.
... can NOT close
- "locked tabs" AND
- "Tabs, locked but directory change allowed"
With cm_CloseAllTabs you don't want to have a confirmation query.
- What do you think should happen to the locked tabs?
- In your opinion, should a tab still be visible, eg C: or should no tab be visible at all?
So I don't understand this statement.Horst.Epp wrote: 2022-02-12, 10:12 UTC ... So when I use that once, tabs are no longer shown at all.
It's not clear to me what goal you actually want to achieve.
I currently only know of these two options:
1. Show/hide all tabs -> cm_VisDirTabs
2. Close all tabs except 1 tab (including "locked Tabs" and "Tabs, locked, but directory changes allowed")
With both options, no confirmations are required.
Code: Select all
cm_CloseAllTabs 3008 Close all
- "locked tabs" AND
- "Tabs, locked but directory change allowed"
With cm_CloseAllTabs you don't want to have a confirmation query.
- What do you think should happen to the locked tabs?
- In your opinion, should a tab still be visible, eg C: or should no tab be visible at all?
Re: cm_CloseAllTabs without confirmation ?
If you accept to use nircmdc tool, my "no wait" solution is the following using 3 user commands.
On my machine nircmd/nircmdc are on the path so no need to prefix by <Path_to>\ !
Code: Select all
em_Ydown :
cmd:<Path_to>\nircmdc
parameter: sendkey Y down
em_Yup :
cmd:<Path_to>\nircmdc
parameter: sendkey Y up
em_closeAllTabs_noWait:
cmd:em_Ydown,cm_CloseAllTabs,em_Yup
Re: cm_CloseAllTabs without confirmation ?
Thats wrong.
Only cm_VisDirTabs doesn't require a confirmation
but this only hides all tabs which is not what I requested.
cm_CloseAllTabs requires a confirmation at least on my TC.
Windows 11 Home, Version 24H2 (OS Build 26100.4351)
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.4 x64
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.4 x64
Re: cm_CloseAllTabs without confirmation ?
No confirmation is required for the solutions given here.
Since I don't know what your end result should look like and I didn't get an answer to my questions,
I think it's better for me if I get off topic.
No offense.
Re: cm_CloseAllTabs without confirmation ?
I use NirCmd a lot but this doesn't work.
cm_CloseAllTabs waits until userinput and the next command is not send in this case.
The solution would be an Autohotkey script.
Windows 11 Home, Version 24H2 (OS Build 26100.4351)
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.4 x64
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.4 x64
Re: cm_CloseAllTabs without confirmation ?
Petermads last solution in this thread works and preserves the displayed tabs on both sides

Windows 11 Home, Version 24H2 (OS Build 26100.4351)
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.4 x64
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.4 x64
Re: cm_CloseAllTabs without confirmation ?
Have you made a test in this order, [Y down, cm_CloseAllTabs, Y up ] using a button ?Horst.Epp wrote: 2022-02-12, 13:00 UTCI use NirCmd a lot but this doesn't work.
cm_CloseAllTabs waits until userinput and the next command is not send in this case.
The solution would be an Autohotkey script.
The Y key down (before dialog), the TC dialog intercept it and close, Y up key !
But anyway the solution with a tab file is even better...
Re: cm_CloseAllTabs without confirmation ?
Yes, I tried it with this sequence but it didn't work.nsp wrote: 2022-02-12, 14:22 UTCHave you made a test in this order, [Y down, cm_CloseAllTabs, Y up ] using a button ?Horst.Epp wrote: 2022-02-12, 13:00 UTCI use NirCmd a lot but this doesn't work.
cm_CloseAllTabs waits until userinput and the next command is not send in this case.
The solution would be an Autohotkey script.
The Y key down (before dialog), the TC dialog intercept it and close, Y up key !
But anyway the solution with a tab file is even better...
The tab file solution is a clever idea.
Windows 11 Home, Version 24H2 (OS Build 26100.4351)
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.4 x64
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.4 x64