Define colors by file type question
Moderators: Hacker, petermad, Stefan2, white
Define colors by file type question
Hello,
I have files like this:
File1.avi
File1.srt
File2.avi
File3.avi
File3.srt
File4.avi
I know how to get the *.avi files in another color and also how to hide *.srt, but I want to color the avi files in eg green, but only if the same file exists with extension .srt
Can this be done? I would have been nice.
Thx for a great application
I have files like this:
File1.avi
File1.srt
File2.avi
File3.avi
File3.srt
File4.avi
I know how to get the *.avi files in another color and also how to hide *.srt, but I want to color the avi files in eg green, but only if the same file exists with extension .srt
Can this be done? I would have been nice.
Thx for a great application
Hi,
I have extended my content plug-in "Misc". The new field "Sibling" allows to color all files which have a "sibling filename" with a certain extension.
To make it work you have to create a file called Misc.ini with the following content in the same directory where wincmd.ini is placed (locate wincmd.ini: Menu Help/About Total Commander).
You can of course also change this to another extension if desired. All files with the same name but another extension will be colored if an appropriate definition has been made in "define colors by filetype". You have to click on the define button and then navigate to the plug-in tab. The rule to add is "misc.Sibling=Yes". Then save the configuration.
http://www.lefteous.de/tc/archives/misc/wdx_misc_1.04.zip
I have extended my content plug-in "Misc". The new field "Sibling" allows to color all files which have a "sibling filename" with a certain extension.
To make it work you have to create a file called Misc.ini with the following content in the same directory where wincmd.ini is placed (locate wincmd.ini: Menu Help/About Total Commander).
Code: Select all
[Sibling]
Extension=srt
http://www.lefteous.de/tc/archives/misc/wdx_misc_1.04.zip
Yes, please.Can you add support for Misc.ini in Misc home directory
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
I have added support for a more tolerant ini file location handling:
http://www.lefteous.de/tc/archives/misc/wdx_misc_1.05.zip
http://www.lefteous.de/tc/archives/misc/wdx_misc_1.05.zip
2Lefteous
One suggestion (or two) for misc.wdx: Could you improve the plugin for accept more extensions?
Currently is necessary to copy the plugin misc to a directory with different name for work with more extensions.
For me it is useful for search files which don't have the checksum calculated (md5, sfv), too for tooltip, for show if a backup o subtitle exist. Subtitle=[=misc.sibling] Backup=[=misc2.sibling]
An option could be the key "Extension" separated by Semicolons. Example: Extension=srt;sfv;md5;bak;tmp;torrent;bla bla.
A second option or alternative: Add more fields in misc.lng to the key sibling. Example:
sibling1=sibling (bak)
sibling2=sibling (md5)
sibling3=bla bla
What do you think? Could be viable?
One suggestion (or two) for misc.wdx: Could you improve the plugin for accept more extensions?
Currently is necessary to copy the plugin misc to a directory with different name for work with more extensions.
For me it is useful for search files which don't have the checksum calculated (md5, sfv), too for tooltip, for show if a backup o subtitle exist. Subtitle=[=misc.sibling] Backup=[=misc2.sibling]
An option could be the key "Extension" separated by Semicolons. Example: Extension=srt;sfv;md5;bak;tmp;torrent;bla bla.
A second option or alternative: Add more fields in misc.lng to the key sibling. Example:
sibling1=sibling (bak)
sibling2=sibling (md5)
sibling3=bla bla
What do you think? Could be viable?
I can read English, but... I write like Tarzan. (sorry)
Hello
I have problems to use (or understand the tool).
I have the misc.ini in the plugin-dir, content is:
In userdefined-columns I have [=misc.Sibling], anf the following files show thes results:
I thought that 2.lsp has a sibling "2.txt" and 0-pl.lsp and 0-pl.fas are siblings?
Peter
I have problems to use (or understand the tool).
I have the misc.ini in the plugin-dir, content is:
Code: Select all
[Sibling]
Extension=lsp
Code: Select all
0-PL.fas No
0-PL.LSP No
1 No
1.txt Yes
2.lsp No
2.txt No


Peter
TC 10.xx / #266191
Win 10 x64
Win 10 x64