How to show the DirectoryHotlist under the icon?

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
white
Power Member
Power Member
Posts: 5747
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: How to show the DirectoryHotlist under the icon?

Post by *white »

ghisler(Author) wrote: 2024-11-17, 07:50 UTC
Should CM_DIRECTORYHOTLIST be added again to this line in HISTORY.TXT?
No, the documentation was incorrect at the time, there was no official parameter support for CM_DIRECTORYHOTLIST.
You have a point. Will you add a line to the changelog when releasing beta 7, similar to this one:
15.11.24 Added: CM_DIRECTORYHOTLIST parameters are now officially supported (32/64)
JOUBE
Power Member
Power Member
Posts: 1664
Joined: 2004-07-08, 08:58 UTC

Re: How to show the DirectoryHotlist under the icon?

Post by *JOUBE »

ghisler(Author) wrote: 2024-11-17, 07:50 UTC 2JOUBE
I don't see how this should work when there are subfolders.
If you mean the subfolder end ("-") : No problem with that.

Please simply show the item number ony for the visible menu items and only while the "cm_DirectoryHotlist 9" is running.
The shown number (just before the menu text) is only an orientation about the region, where the item resides.

I work with many many subfolders -> subfolders -> subfolders -> ... and this works very well (perfect with more then 1500 items. Thanks for that implemantation in 2023). But than: to find an item in the configuration is time-consuming because there can be hundreds of items (in the subfolders) in between.

This suggestion is a basic (and very simple to implement, I think) replacement for a real search function in the DirectoryHotlist configuration, which you yourself once described to me as desirable (in summer 2023):
Eine Suche wäre auch praktisch, aber so können Sie immerhin in der
INI-Datei suchen und dann zur richtigen Nummer scrollen.
User avatar
white
Power Member
Power Member
Posts: 5747
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: How to show the DirectoryHotlist under the icon?

Post by *white »

white wrote: 2024-11-17, 11:55 UTC You have a point. Will you add a line to the changelog when releasing beta 7, similar to this one:
15.11.24 Added: CM_DIRECTORYHOTLIST parameters are now officially supported (32/64)
Confirmed that this line is added:
HISTORY.TXT wrote: 15.11.24 Added: cm_DirectoryHotlist parameters are now officially supported and documented in the help (32/64)
(There is a trailing space at the end though)

Confirmed this text is added to the Help and similar text in German for the German Help:
cm_DirectoryHotlist
0: Opens in upper left corner of the active panel
1: Opens at the mouse cursor position
2: Opens below the right directory hotlist button (or the top-right corner of the right file list)
3: Opens below the left directory hotlist button (or the top-right corner of the left file list)
8: Add to show line numbers (also in the configuration dialog if opened from this list)
Should info about parameter support for cm_DirectoryHotlist also be added to help page "What's new in this version?", in the section below?
Internal commands:
- OPENBAR, OPENBAR1, OPENBAR2, OPENBARMENU: New parameter * opens default bar defined for the main bar/vertical bar
- Add 4 to parameter of the following commands to not save the change to wincmd.ini: cm_SwitchLongNames, cm_SwitchHidSys, cm_SwitchHid, cm_SwitchSys, cm_Switch83Names, cm_SwitchDirSort, cm_SwitchOverlayIcons, cm_SwitchIgnoreList, cm_SwitchX64Redirection, cm_SwitchFileTipWindows, cm_SwitchColorsByFileType, cm_ToggleAutoViewModeSwitch, cm_Vis*

HISTORY.TXT wrote: 19.11.24 Added: cm_DirectoryHotlist: Add 8 to parameter to show line numbers (also in the configuration dialog if opened from this list) (32/64)
Tested OK using TC 11.50b7 32-bit and 64-bit.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: How to show the DirectoryHotlist under the icon?

Post by *ghisler(Author) »

Should info about parameter support for cm_DirectoryHotlist also be added to help page "What's new in this version?", in the section below?
I didn't consider it important enough for "what's new".
Author of Total Commander
https://www.ghisler.com
JOUBE
Power Member
Power Member
Posts: 1664
Joined: 2004-07-08, 08:58 UTC

Re: How to show the DirectoryHotlist under the icon?

Post by *JOUBE »

suggestion wrote:Please simply show the item number ony for the visible menu items

Code: Select all

19.11.24 Added: cm_DirectoryHotlist: Add 8 to parameter to show line numbers (also in the configuration dialog if opened from this list) (32/64)
Perfect implemented. Thank you very much. (Adding 8 to the number is much more better than my suggestion to use "cm_DirectoryHotlist 9").

Here's my main menu of the Directory Hotlist (with far more than 1400 entries):

Code: Select all

   1 C------         
   2 F-----          >
  12 V-----          
  13 D---------      
  --------------------
  15 M--             >
 221 S---            
 222 V-              >
 295 C----           >
 ---------------------
 561 V-----          >
 964 T-              >
1011 ----            >
1234 S---            >
----------------------
1297 T-              >
1342 T- -------------
----------------------
1344 N------
1345 M------- -- ---
1346 S------------
----------------------
1348 _------         >
1375 h-----          >
----------------------
+ Add current dir
* Configure...
sa16
Senior Member
Senior Member
Posts: 324
Joined: 2021-09-10, 07:15 UTC

Re: How to show the DirectoryHotlist under the icon?

Post by *sa16 »

19.11.24 Added: cm_DirectoryHotlist: Add 8 to parameter to show line numbers (also in the configuration dialog if opened from this list) (32/64)
Can this be fixed (without adding &)?
This is not how choosing a menu item works: Ctrl+D --> E

Code: Select all

15 C:\
16 D:\
17 E:\

This is how choosing a menu item works: Ctrl+D --> E

Code: Select all

C:\
D:\
E:\
JOUBE
Power Member
Power Member
Posts: 1664
Joined: 2004-07-08, 08:58 UTC

Re: How to show the DirectoryHotlist under the icon?

Post by *JOUBE »

This mode with 8 added is only for information purposes (while configuring the hotlist) and not for use. So everything is okay. And nothing has to be changed or fixred.

For normal use never add this 8.
sa16
Senior Member
Senior Member
Posts: 324
Joined: 2021-09-10, 07:15 UTC

Re: How to show the DirectoryHotlist under the icon?

Post by *sa16 »

JOUBE wrote: For normal use never add this 8.
Then this is worth mentioning in the Help!
JOUBE
Power Member
Power Member
Posts: 1664
Joined: 2004-07-08, 08:58 UTC

Re: How to show the DirectoryHotlist under the icon?

Post by *JOUBE »

sa16 wrote: 2024-11-22, 11:14 UTC
JOUBE wrote: For normal use never add this 8.
Then this is worth mentioning in the Help!
No. There is nothing "mentioned"

It is simply horrible to want to show the numbers in normal use.

Please just think more and consider for yourself, this also applies to other users of the forum (and some moderators), which have already caused some damage to the Tc in this way, which now has to be undone by a lot of extra work.
sa16
Senior Member
Senior Member
Posts: 324
Joined: 2021-09-10, 07:15 UTC

Re: How to show the DirectoryHotlist under the icon?

Post by *sa16 »

2JOUBE
During the configuration process, I would like to use the usual keys for moving through folders, but, alas, this will not work.
JOUBE
Power Member
Power Member
Posts: 1664
Joined: 2004-07-08, 08:58 UTC

Re: How to show the DirectoryHotlist under the icon?

Post by *JOUBE »

sa16 wrote: 2024-11-22, 13:14 UTC 2JOUBE
During the configuration process, I would like to use the usual keys for moving through folders, but, alas, this will not work.
Exactly, that doesn't work. That's how it is and that's how it should stay. Anything else would be completely pointless development.

How to use it:
Step 1: Find item = information (add 8 )
Step 2: Change item. (without 8 added) see the item number (in configuration dialog) in the upper right corner of dialog.
Step 3: Handle hotkey. (without 8 added)

I would never have believed that such an important and useful extension of the TC could be viewed so negatively.
Last edited by JOUBE on 2024-11-22, 13:50 UTC, edited 1 time in total.
sa16
Senior Member
Senior Member
Posts: 324
Joined: 2021-09-10, 07:15 UTC

Re: How to show the DirectoryHotlist under the icon?

Post by *sa16 »

2JOUBE
I did not offer any development, only to return standard behavior (at parameter 8 ). Although it also takes effort.
And the extension is very convenient.Thank you!
JOUBE
Power Member
Power Member
Posts: 1664
Joined: 2004-07-08, 08:58 UTC

Re: How to show the DirectoryHotlist under the icon?

Post by *JOUBE »

cm_DirectoryHotlist
0: Opens in upper left corner of the active panel
1: Opens at the mouse cursor position
2: Opens below the right directory hotlist button (or the top-right corner of the right file list)
3: Opens below the left directory hotlist button (or the top-right corner of the left file list)
8: Add to show line numbers (also in the configuration dialog if opened from this list)
@ghisler(author)
I don't know how it is for others but I am missing the following mode with the number 4

Code: Select all

4: Opens below the active panel directory hotlist button (or the top-right corner of the active panel file list)
This would be the usual mode for me, because that is how it is if you click with the mouse on the "*"

Hopefully this mode will make it into version 11.50 to complete it, because this mode 4 would be usefull in combination with the new option "show line numbers" (add 8 ).
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: How to show the DirectoryHotlist under the icon?

Post by *ghisler(Author) »

4 isn't an official parameter. It seems to behave the same as 2 right now, but it's undefined.
Author of Total Commander
https://www.ghisler.com
JOUBE
Power Member
Power Member
Posts: 1664
Joined: 2004-07-08, 08:58 UTC

Re: How to show the DirectoryHotlist under the icon?

Post by *JOUBE »

ghisler(Author) wrote: 2024-11-24, 07:36 UTC 4 isn't an official parameter. It seems to behave the same as 2 right now, but it's undefined.
Oh, I didn't express it correctly: I meant "4" as a new additional mode that has to be implemented with the opening at "*" position in the _active_ panel.

It is of course not decisive and relatively easy to get around (by using "2" and "3"), but "4" would simply be more convenient *), would correspond to mode "0" and would round the whole thing off.

*) Convenient: I normaly open the DirHotlist via clicking on the "*" and the list is opend directly there. I expect the list there. This is not possible with 8 added. It needs two items a the moment. (but it is not very important... but would round the whole thing off.)
Post Reply