Change of the action of cm_GoToRoot (Ctrl+\) inside archives
Moderators: Hacker, petermad, Stefan2, white
Change of the action of cm_GoToRoot (Ctrl+\) inside archives
When I am in subfolders inside an archive, the only way to go back to the "root" of the archive is to navigate back, potentially through many parent directories.
It would be nice if the cm_GoToRoot command (default shortcut Ctrl+\) would go to the "root" of the archive. If already in the "root" it should go to the root of the drive as it does currently. The action could be made optional with a wincmd.ini parameter (GoToRootInArchives), or with a parameter (1) for the cm_GoToRoot command.
There could even be more options - like:
1: Go to root in archives.
2. If already in archive root, go out of archive and place cursor on archive file (like cm_GoToParent / Backspace).
3. Always go out of archive and place cursor on archive file.
In the case of nested archives cm_GoToRoot should go to the "root" of the top level archive - if feasible.
It would be nice if the cm_GoToRoot command (default shortcut Ctrl+\) would go to the "root" of the archive. If already in the "root" it should go to the root of the drive as it does currently. The action could be made optional with a wincmd.ini parameter (GoToRootInArchives), or with a parameter (1) for the cm_GoToRoot command.
There could even be more options - like:
1: Go to root in archives.
2. If already in archive root, go out of archive and place cursor on archive file (like cm_GoToParent / Backspace).
3. Always go out of archive and place cursor on archive file.
In the case of nested archives cm_GoToRoot should go to the "root" of the top level archive - if feasible.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Change of the action of cm_GoToRoot (Ctrl+\) inside archives
++++++++++
#146217 personal license
Re: Change of the action of cm_GoToRoot (Ctrl+\) inside archives
Support ++
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: Change of the action of cm_GoToRoot (Ctrl+\) inside archives
Now we have two ways:
I don't want to go to the root of the archive instead of the usual return to the root of the locked tab. It's better to assign Ctrl+Shift+\.LockedGoToDriveRoot=0
0: Click on [ \ ] switches to base directory of the locked tab
1: Click on [ \ ] switches to root directory of the drive
Overquoting is evil! 👎
Re: Change of the action of cm_GoToRoot (Ctrl+\) inside archives
petermad,
I dunno, wouldn't a new internal command(s) be better than creating options for the current one? What if I sometimes want to go to the root of the archive, but another time to the root of the drive?
Roman
I dunno, wouldn't a new internal command(s) be better than creating options for the current one? What if I sometimes want to go to the root of the archive, but another time to the root of the drive?
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Re: Change of the action of cm_GoToRoot (Ctrl+\) inside archives
Support++
for petermad's suggestion!
I would not introduce a new internal command (e.g., because this would require 2 shortcuts or even 2 gui elements).
Instead, I support the idea of choosing the behavior of cm_GotoRoot via a parameter (or an ini parameter).
for petermad's suggestion!
I would not introduce a new internal command (e.g., because this would require 2 shortcuts or even 2 gui elements).
Instead, I support the idea of choosing the behavior of cm_GotoRoot via a parameter (or an ini parameter).
Re: Change of the action of cm_GoToRoot (Ctrl+\) inside archives
100% agree with this.Hacker wrote: 2023-06-21, 12:20 UTC I dunno, wouldn't a new internal command(s) be better than creating options for the current one? What if I sometimes want to go to the root of the archive, but another time to the root of the drive?
Hoecker sie sind raus!
Re: Change of the action of cm_GoToRoot (Ctrl+\) inside archives
My main reason for not asking for a new command is that it requires translation (wcmd_XXX.inc files) and the translatorts have already been contacted for TC 11.00.I dunno, wouldn't a new internal command(s) be better than creating options for the current one? What if I sometimes want to go to the root of the archive, but another time to the root of the drive?
Anyway if it was made with a parameter for the current cm_GoToRoot command (not a wincmd.ini parameter), you could always just make yourself an em_command with cm_GoToRoot 1, and assign that to a hotkey of your choice (fx. Ctrl+Shift+\) - hell you don't even have to go via an em_command for creating shortcuts for cm_command with parameters anymore.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Change of the action of cm_GoToRoot (Ctrl+\) inside archives
What has locked tabs to do with this - I rarely use tabs, and never locked tabs.Fla$her wrote: 2023-06-21, 11:41 UTC Now we have two ways:LockedGoToDriveRoot=0
0: Click on [ \ ] switches to base directory of the locked tab
1: Click on [ \ ] switches to root directory of the drive
Hence the request to make it optional - either via wincmd.ini parameter or vis cm_command parameter (I would prefer the latter)Fla$her wrote: I don't want to go to the root of the archive instead of the usual return to the root of the locked tab. It's better to assign Ctrl+Shift+\.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Change of the action of cm_GoToRoot (Ctrl+\) inside archives
As long as the MainMenu doesnt support commands with parameters you still have to make ems :-/petermad wrote: 2023-06-21, 14:02 UTC Anyway if it was made with a parameter for the current cm_GoToRoot command (not a wincmd.ini parameter), you could always just make yourself an em_command with cm_GoToRoot 1, and assign that to a hotkey of your choice (fx. Ctrl+Shift+\) - hell you don't even have to go via an em_command for creating shortcuts for cm_command with parameters anymore.
Hoecker sie sind raus!
Re: Change of the action of cm_GoToRoot (Ctrl+\) inside archives
The most direct. I use partially locked tabs on a regular basis.petermad wrote: 2023-06-21, 14:09 UTC What has locked tabs to do with this - I rarely use tabs, and never locked tabs.
cm_GoToRoot, clicking on the button [\], CTRL+\ by default jump to the root of such a tab.
The parameter to the command is the best option here.petermad wrote: 2023-06-21, 14:09 UTC Hence the request to make it optional - either via wincmd.ini parameter or vis cm_command parameter (I would prefer the latter)
I probably wouldn't count on 11.00 already, considering that even the agreed things were not included in the latest betas.
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Change of the action of cm_GoToRoot (Ctrl+\) inside archives
Just press Ctrl+B (branch view) twice.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Change of the action of cm_GoToRoot (Ctrl+\) inside archives
Smart - thought it might be slow if I was in a dir with a lot of subdirs - but is seems faster that on the local harddisk.Just press Ctrl+B (branch view) twice.
I also realized that I can use Ctrl+R/F2 to go to the directory that holds the archive file - the cursor is not placed on the archive though.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Change of the action of cm_GoToRoot (Ctrl+\) inside archives
The archive is cached as a whole, so Ctrl+B should be very fast.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com