ShowFrequentlyUsed: How about expanding this functionality?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
KozakMak
Senior Member
Senior Member
Posts: 489
Joined: 2021-05-24, 12:39 UTC
Location: UA

ShowFrequentlyUsed: How about expanding this functionality?

Post by *KozakMak »

With ShowFrequentlyUsed we can just show/hide them. How about expanding this functionality?
1) something like ShowFrequentlyUsedBottom? after history
2) FrequentlyUsedLimit for limit lines that show?
OS: Win10 | TC: latest x64
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: ShowFrequentlyUsed: How about expanding this functionality?

Post by *petermad »

1) something like ShowFrequentlyUsedBottom? after history
If you enable reversed order, the frequently used enries ar shown at he bottom
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
KozakMak
Senior Member
Senior Member
Posts: 489
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: ShowFrequentlyUsed: How about expanding this functionality?

Post by *KozakMak »

petermad wrote: 2023-05-04, 13:46 UTC If you enable reversed order
how can it be enabled?
OS: Win10 | TC: latest x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: ShowFrequentlyUsed: How about expanding this functionality?

Post by *ghisler(Author) »

Via right click context menu!
Author of Total Commander
https://www.ghisler.com
KozakMak
Senior Member
Senior Member
Posts: 489
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: ShowFrequentlyUsed: How about expanding this functionality?

Post by *KozakMak »

nice!

and how about limit Frequently Used \ last visit lists?
OS: Win10 | TC: latest x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: ShowFrequentlyUsed: How about expanding this functionality?

Post by *ghisler(Author) »

The limit are currently hard coded. It records up to 200 and shows up to 30 in collapsed mode, up to 200 in expanded mode (Alt+Shift+Cursor down).

Edit: It's 30 in collapsed mode.
Author of Total Commander
https://www.ghisler.com
KozakMak
Senior Member
Senior Member
Posts: 489
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: ShowFrequentlyUsed: How about expanding this functionality?

Post by *KozakMak »

ghisler(Author) wrote: 2023-05-05, 13:46 UTC and shows up to 50 in collapsed mode
it's looks messy, hard to find needed one
for Frequently Used I would have had enough 5-6
OS: Win10 | TC: latest x64
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6973
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: ShowFrequentlyUsed: How about expanding this functionality?

Post by *Horst.Epp »

KozakMak wrote: 2023-05-07, 07:23 UTC
ghisler(Author) wrote: 2023-05-05, 13:46 UTC and shows up to 50 in collapsed mode
it's looks messy, hard to find needed one
for Frequently Used I would have had enough 5-6
As it is like a global history 5-6 is not enough, at least for me.
But a configuration for the number of entries may solve your need.
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
User avatar
tuska
Power Member
Power Member
Posts: 4052
Joined: 2007-05-21, 12:17 UTC

Re: ShowFrequentlyUsed: How about expanding this functionality?

Post by *tuska »

2KozakMak

Code: Select all

[Configuration]
HistoryLen=6
... can narrow down the entries in the history in the part that is not in the "Run count" section.

Further commands (see: F1 help), e.g:
HistoryThinning=
HistoryThinningDelta=
User avatar
tuska
Power Member
Power Member
Posts: 4052
Joined: 2007-05-21, 12:17 UTC

Re: ShowFrequentlyUsed: How about expanding this functionality?

Post by *tuska »

A new command, e.g.

Code: Select all

HistoryRunCount=
could help to shorten the number of history entries that are NOT affected by HistoryLen=.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: ShowFrequentlyUsed: How about expanding this functionality?

Post by *ghisler(Author) »

There will be a new option in beta 2:
FrequentlyUsedLen=
This will allow you to control the number of items shown from the most frequently used list.
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 4052
Joined: 2007-05-21, 12:17 UTC

Re: ShowFrequentlyUsed: How about expanding this functionality?

Post by *tuska »

HISTORY.TXT wrote:10.05.23 Release Total Commander 11.00 beta 2
08.05.23 Added: Wincmd.ini [Configuration] FrequentlyUsedLen=30 sets number of frequently used directories
                         shown in new history list (Alt+Cursor down) (32/64)
2ghisler(Author)
Thank you! :)

Example
wincmd.ini - section [Configuration]

Code: Select all

DirUsageLocation=%COMMANDER_PATH%
FrequentlyUsedLen=13		  ;Restart of TC required - tcDirFrq.txt is saved [or save with Configuration > Save Settings]
FrequentlyUsedLenStored=200       ;TC 11.00b3 - 17.5.2023
ShowFrequentlyUsed=1
ShowFrequentlyUsedMaxInMiddle=1   ;TC 11.00b3 - 17.5.2023
HistoryIcons=0		  	  ;TC 11.00b3 - 17.5.2023
HistoryLen=30
ReverseHistory=0
SaveHistory=1
HistoryThinning=1
HistoryThinningDelta=5000
'History (Alt+Down)' displays the set number of history entries (FrequentlyUsedLen + HistoryLen).
ghisler(Author) wrote: 2023-05-10, 15:56 UTC FrequentlyUsedLen is meant to limit the number of most frequently used paths shown in the history list.
When you press Alt+Shift+Down you still get the complete list as stored in tcDirFrq.txt.
To disable the function, use DirUsageLocation=0 or some other invalid name.
 
Excerpt from HISTORY.TXT
HISTORY.TXT wrote:24.05.23 Release Total Commander 11.00 beta 4
21.05.23 Added: Wincmd.ini [Configuration] ShowLastVisitedInMiddle=0:
                         Show last visited directory at the edge of the history dialog, or in the middle,
                         adjacent to the most frequently used directories (32/64)
 
17.05.23 Release Total Commander 11.00 beta 3
17.05.23 Added: Uninstaller: Always start as admin if available (highestAvailable in Manifest),
                         delete tcDirFrq.txt when user chooses to remove ini files (32/64)
16.05.23 Added: Wincmd.ini [Configuration] HistoryIcons=1 show/hide icons in directory history (32/64)
16.05.23 Added: Wincmd.ini [Configuration] HistoryFont=0 sets font for directory history: 0=same as file lists,
                         1=same as main menu, other=custom font name (32/64)
16.05.23 Added: Wincmd.ini [Configuration] ShowFrequentlyUsedMaxInMiddle=0: Show most frequently used directory
                         at the edge of the history dialog, or in the middle, adjacent to the history (32/64)
15.05.23 Added: New page "History" in main configuration dialog, can also be reached via history right click menu,
                         or cm_HistoryConfig command (32/64)
15.05.23 Added: Wincmd.ini [Configuration] SaveFrequentlyUsed=(value of SaveHistory): Save frequently used list to tcDirFrq.txt,
                         defaults to same value as SaveHistory (32/64)
15.05.23 Added: Wincmd.ini [Configuration] FrequentlyUsedLenStored=200 sets maximum number of frequently used directories
                         saved in tcDirFrq.txt (no upper limit) (32/64)
 
03.05.23 Release Total Commander 11.00 beta 1
18.04.23 Added: Quick search/quick filter in directory history: When searching the whole path (search string starts with *),
                         TAB adds lowercase characters from the current file path up to the next \ (32/64)
17.04.23 Added: Quick filter in directory history: Hide duplicate items present both in history and frequently used list (32/64)
21.03.23 Added: Divide all values by 2 in most frequently used directory list every 30 days,
                         either when the largest counter reaches 10000 or there are at least 100 entries left afterwards (32/64)
19.03.23 Added: Context menu item in History to show/hide most frequently used directories,
                         saved as [Configuration] ShowFrequentlyUsed=1/0 (32/64)
16.03.23 Added: Set storage location of most frequently used directories file tcDirFrq.txt:
                         [Configuration] DirUsageLocation=, default %LOCALAPPDATA%\GHISLER\ (32/64)
                         ; https://www.ghisler.ch/board/viewtopic.php?p=430385#p430385 I will disable saving to tcDirFrq.txt
                         ; when saving the history is disabled. If you want to disable just tcDirFrq.txt, set a path where TC cannot write,
                         ; e.g. c:\windows or c:\nul
15.03.23 Added: Keep track of most frequently used directories and show them in the directory history
                         in addition to the history entries, at the other end (32/64)
14.03.23 Added: Directory history list: Context menu, option to reverse sort order (last visited directory at the top) (32/64)
12.03.23 Added: Directory history list: Context menu, option to open path in new tab (32/64)
12.03.23 Added: Directory history list: Context menu, option to show all items when history thinning is enabled. Hotkey: Alt+Shift+Cursor down (32/64)
12.03.23 Added: Directory history list: Context menu, option to copy path to clipboard (32/64)
10.03.23 Added: Directory history list: Quick search in whole path by starting search strings with an asterisk, e.g. *windows will find c:\windows\system32 too (32/64)
10.03.23 Added: Directory history list: Context menu, option to remove entries from history (Hotkey: Shift+Del) (32/64)
09.03.23 Added: Directory history list: Don't limit number of displayed history items when opening history with thinning disabled
                         (with Shift+History button or Alt+Shift+Cursor down) (32/64)
07.03.23 Added: Directory history list now supports quick search and a quick filter (Ctrl+S) (32/64)
06.03.23 Added: New style directory history list which is no longer based on a Windows menu and supports quick search (32/64)
Post Reply