Internal command to toggle "Define colors by file type"
Moderators: white, Hacker, petermad, Stefan2
Internal command to toggle "Define colors by file type"
I have a lot of file type based coloring defined
but sometimes I want a clear display without all this colors.
Please provide a new internal command to toggle this function.
I propose
cm_ToggleDefineColorsbyFileType
but sometimes I want a clear display without all this colors.
Please provide a new internal command to toggle this function.
I propose
cm_ToggleDefineColorsbyFileType
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
Re: Internal command to toggle "Define colors by file type"
I guess taking into account the dark mode... cm_SwitchDarkmode ...
Re: Internal command to toggle "Define colors by file type"
Of course, the new toggle has nothing to do with dark mode.
Each mode has its default, so this should not be an additional problem.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
Re: Internal command to toggle "Define colors by file type"
Support+++
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Internal command to toggle "Define colors by file type"
Support+++++
And more ?:
There also should be an internal command that, based on actual file under cursor, add/remove the file type (or file/folder name ?) to list of types <-> color
Something like : cm_ToggleAssociateColorbyFileTypeFromSelectedFile + as parameter, the "Define color by file type" saved name
- If already set, remove the file type to associated color
- If not set, associate the file type to color
(I'm used to set (add/remove) my file types/names via the Load/Save Searches, and then assign a color to it... but it's quite not an easy way to do it)
And more ?:
There also should be an internal command that, based on actual file under cursor, add/remove the file type (or file/folder name ?) to list of types <-> color
Something like : cm_ToggleAssociateColorbyFileTypeFromSelectedFile + as parameter, the "Define color by file type" saved name
- If already set, remove the file type to associated color
- If not set, associate the file type to color
(I'm used to set (add/remove) my file types/names via the Load/Save Searches, and then assign a color to it... but it's quite not an easy way to do it)
Longue vie a TC... déjà + de 20 ans de bons et loyaux services chez moi !
Re: Internal command to toggle "Define colors by file type"
Support++
Temporary solutions:
I have a wdx script winscriptadv not_colorized.vbs the script just check the existence of a file in %USERPROFILE%. You can Addapt as you which..
I have made on top of color definition an expression that use the wdx script and set default color ! (it capture and stop all subsequent colors definitions)
Then i have a batch script to create/rename or delete/rename this file. I call this batch in a em_command that do the toggle and refresh panel.
You can also use same technique to disable coloring on specific folders using the file path inside wdx...
Temporary solutions:
I have a wdx script winscriptadv not_colorized.vbs the script just check the existence of a file in %USERPROFILE%. You can Addapt as you which..
Code: Select all
Set fso = CreateObject("Scripting.FileSystemObject")
content = fso.FileExists( "C:\Users\<UserID>\stop_colorize.txt" )
Then i have a batch script to create/rename or delete/rename this file. I call this batch in a em_command that do the toggle and refresh panel.
You can also use same technique to disable coloring on specific folders using the file path inside wdx...
Re: Internal command to toggle "Define colors by file type"
Support++
License #1945
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Internal command to toggle "Define colors by file type"
Added, thanks for the suggestion!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Internal command to toggle "Define colors by file type"
2ghisler(Author), thanks for adding!
This is much better than scripting solutions.
This is much better than scripting solutions.
Overquoting is evil! 👎