Hiding defined file types in Thumbnail view?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
jesped
Member
Member
Posts: 161
Joined: 2005-02-07, 03:28 UTC

Hiding defined file types in Thumbnail view?

Post by *jesped »

Is it possible to hide certain file types in the Thumbnail view?

Like, for example, hiding hundreds of .srt files in a video folder.
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Hiding defined file types in Thumbnail view?

Post by *Hacker »

jesped,
Every time when switching to Thumbnail view or just once?

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
jesped
Member
Member
Posts: 161
Joined: 2005-02-07, 03:28 UTC

Re: Hiding defined file types in Thumbnail view?

Post by *jesped »

Hacker wrote: 2023-04-06, 12:08 UTC jesped,
Every time when switching to Thumbnail view or just once?

Roman
Every time, but even just once would be better than nothing.
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Hiding defined file types in Thumbnail view?

Post by *petermad »

2jesped
You can either add *.srt to the ignore list (Configuration -> Options -> Ignore list) then .srt file will never be shown.

Or you can use this button to hide the files:

Code: Select all

TOTALCMD#BAR#DATA
cd *|"*.srt"

wcmicons.dll,24
Hide *.ret files
To make the button:
1. Mark the text in the box here above (click SELECT ALL).
2. Copy it to the ClipBoard (press Ctrl+C).
3. Right click on TC's buttonbar and choose "Paste".
or you can automate the process with a View Mode and an Auto Switch Mode - like this:

https://tcmd.madsenworld.dk/hidesrtviewmode.png

You will then have to put this in your usercmd.ini file (located in the same folder as your wincmd.ini file):

Code: Select all

[em_hide_srt]
cmd=cd *|"*.srt"
With the Auto Switch Mode approach, TC wil automatically hide .srt files if any is detected in the folder.

You can even make it so it will automatically change to Thumbnail view if a .srt file is detected by changeing the" Auto-run commands" to:

Code: Select all

*cm_SrcThumbs,em_hide_srt|cm_SrcAllFiles,cm_SrcLong
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
User avatar
jesped
Member
Member
Posts: 161
Joined: 2005-02-07, 03:28 UTC

Re: Hiding defined file types in Thumbnail view?

Post by *jesped »

petermad wrote: 2023-04-06, 16:28 UTC 2jesped
You can either add *.srt to the ignore list (Configuration -> Options -> Ignore list) then .srt file will never be shown.
[...]
Many thanks for the detailed answer! gotta check all those options I had no idea about. :lol:
Post Reply