History cleaner for the wincmd.ini
Moderators: Hacker, petermad, Stefan2, white
History cleaner for the wincmd.ini
It is high time TC had its own builtin history cleaner.
Something like internet browsers have - invoked on-demand and clean whatever you wish by choosing respective checkboxes.
Something like internet browsers have - invoked on-demand and clean whatever you wish by choosing respective checkboxes.
Re: History cleaner
I like the idea.
Similar to the browser, options could be available for what to delete and in what time period when deleting.
Similar to the browser, options could be available for what to delete and in what time period when deleting.
Re: History cleaner
There is already a button "Delete now" in the Configuration / History
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: History cleaner
it omits deleting many history entries (searches, command line,...)Horst.Epp wrote: 2024-02-14, 08:00 UTC There is already a button "Delete now" in the Configuration / History
Re: History cleaner
Just put all stuff you want to delete in an extra ini with RedirectSection= and you have the ability to delete history whenever you want.
for example:
for example:
Code: Select all
[Command Line History]
RedirectSection=<path>\history.ini
[LeftHistory]
RedirectSection=<path>\history.ini
[MkDirHistory]
RedirectSection=<path>\history.ini
[NewFileHistory]
RedirectSection=<path>\history.ini
[OldConnections]
RedirectSection=<path>\history.ini
[RenameSearchFind]
RedirectSection=<path>\history.ini
[RenameSearchReplace]
RedirectSection=<path>\history.ini
[RenameTemplates]
RedirectSection=<path>\history.ini
[RightHistory]
RedirectSection=<path>\history.ini
[Searches]
RedirectSection=<path>\history.ini
[SearchIn]
RedirectSection=<path>\history.ini
[SearchName]
RedirectSection=<path>\history.ini
[SearchText]
RedirectSection=<path>\history.ini
[Selection]
RedirectSection=<path>\history.ini
[TargetList]
RedirectSection=<path>\history.ini
Hoecker sie sind raus!
Re: History cleaner
Not that I am against the idea, but I can foresee a huge discussion about which history elements should be deleted with such a function.
Currently I redirect all wincmd.ini sections that I consider to be history to a wincmd_history.ini file - then I can easily just delete that file.
here is my list of what I consider history, hence redirect:
I myself could debate whether [SyncOptions], [rename] and [ButtonbarCache] should be there.
Currently I redirect all wincmd.ini sections that I consider to be history to a wincmd_history.ini file - then I can easily just delete that file.
here is my list of what I consider history, hence redirect:
Code: Select all
[rename]
RedirectSection=wincmd_history.ini
[SyncOptions]
RedirectSection=wincmd_history.ini
[Selection]
RedirectSection=wincmd_history.ini
[SearchName]
RedirectSection=wincmd_history.ini
[SearchIn]
RedirectSection=wincmd_history.ini
[SearchText]
RedirectSection=wincmd_history.ini
[RenameTemplates]
RedirectSection=wincmd_history.ini
[RenameSearchFind]
RedirectSection=wincmd_history.ini
[RenameSearchReplace]
RedirectSection=wincmd_history.ini
[left]
RedirectSection=wincmd_history.ini
[right]
RedirectSection=wincmd_history.ini
[lefttabs]
RedirectSection=wincmd_history.ini
[righttabs]
RedirectSection=wincmd_history.ini
[Command line history]
RedirectSection=wincmd_history.ini
[RightHistory]
RedirectSection=wincmd_history.ini
[LeftHistory]
RedirectSection=wincmd_history.ini
[MkDirHistory]
RedirectSection=wincmd_history.ini
[NewFileHistory]
RedirectSection=wincmd_history.ini
[TargetList]
RedirectSection=wincmd_history.ini
[PluginDuplicates]
RedirectSection=wincmd_history.ini
[DirSelection]
RedirectSection=wincmd_history.ini
[LastTracks]
RedirectSection=wincmd_history.ini
[ButtonbarCache]
RedirectSection=wincmd_history.ini
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: History cleaner
Advanced history handling should be a built-in feature.
Re: History cleaner
Then let's see your suggestions as to which of TC's many histories that should be included.
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: History cleaner
It is possible allready as I pointed out, you are just not willing to use it...
Hoecker sie sind raus!
Re: History cleaner
2petermad
HOW in this approach I can redirect ALL current and ALL FUTURE possible sections regarding screen resolutions?
Like [800x600 (8x16)], [1024x768 (8x16)], [1152x864 (8x16)]
and so on....
HOW in this approach I can redirect ALL current and ALL FUTURE possible sections regarding screen resolutions?
Like [800x600 (8x16)], [1024x768 (8x16)], [1152x864 (8x16)]
and so on....
#146217 personal license
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: History cleaner
Use AlternateUserIni in the [Configuration] section. It redirects all sections except [Configuration], [Layout], [Packer], [Confirmation], [Extensions], [Associations], [Shortcuts], [ShortcutsWin], [PackerPlugins], [FileSystemPlugins], [ListerPlugins], [ContentPlugins].
It also doesn't redirect sections containing RedirectSection=0.
It also doesn't redirect sections containing RedirectSection=0.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: History cleaner
But I'm talking about the built-in functionality available from the UI. I'm not talking about manually editing settings files.
Re: History cleaner
cm_ClearHistoryConfig — support.
We know the external cleaning methods, even without redirecting sections. But if you compare TC with browsers, then I think that a separate settings page will be quite appropriate here.
We know the external cleaning methods, even without redirecting sections. But if you compare TC with browsers, then I think that a separate settings page will be quite appropriate here.
Overquoting is evil! 👎
Re: History cleaner
[OldConnections] is a wcx_ftp.ini section - sections in wcx_ftp.ini cannot be redirected.Sir_SiLvA wrote: 2024-02-14, 10:47 UTC for example:Code: Select all
[OldConnections] RedirectSection=<path>\history.ini
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: History cleaner
I know, I just copy & pasted the names from my TC Inis History folder and I once tried to redirect that section.petermad wrote: 2024-02-14, 17:53 UTC [OldConnections] is a wcx_ftp.ini section - sections in wcx_ftp.ini cannot be redirected.
PS: Has there ever been a reason given why sections in wcx_ftp cant be redirected (yet)?
Hoecker sie sind raus!