[REQUEST] Color by File Name (not extension)

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Jqn
Member
Member
Posts: 171
Joined: 2003-02-26, 16:42 UTC
Location: Madrid (Spain)

[REQUEST] Color by File Name (not extension)

Post by *Jqn »

Hi,
I've a lot of files in a folder, all with same extension. I need to mark some ones... there is no way!.

It will be very useful if I could change background color (or foreground, at least), like in an spreadsheet. If cursor is confused by all foreground colors, it could be outlined.

Only an idea: "descript.ion" file could have some file descriptions, like colors, and others...

BR
JOAQUIN
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I've a lot of files in a folder, all with same extension. I need to mark some ones... there is no way!.
Of course tere are several ways to mark files:
- Press "+", then enter wildcards, e.g. doc*.* for all files starting with "doc"-
- Define your own selection filter via "+" then "Define"
- Manually with Insert or space
Author of Total Commander
https://www.ghisler.com
User avatar
Gral
Power Member
Power Member
Posts: 1600
Joined: 2005-01-26, 15:12 UTC

Post by *Gral »

You can use content plugin to define selection.
There is possible select files by ex. filesize, filedatetime, exif info, codec and many other.
Jqn
Member
Member
Posts: 171
Joined: 2003-02-26, 16:42 UTC
Location: Madrid (Spain)

Post by *Jqn »

My english is very bad, and probably I have not explained well.

I don't need "to select" files, but to see some ones, its names, in show lists (brief or full). For example:

Efvalc01.ffd
Efvalc02.ffd
Efvalc03.ffd
Efvall01.ffd
Efvcjl01.ffd
EFVCLI01.FFD --> This!. I need to locate it ASAP when I open the folder.
Efvcli02.ffd

JOAQUIN
User avatar
Hacker
Moderator
Moderator
Posts: 13141
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Jqn,
Configuration - Options - Color - Define colors by file type - Add - EFVCLI01.FFD - OK - choose color - OK - OK - OK.

HTH
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
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Re: [REQUEST] Color by File Name (not extension)

Post by *ts4242 »

Jqn wrote:I've a lot of files in a folder, all with same extension. I need to mark some ones... there is no way!.
there are a lot of possibilities to color files and/or folders acording to your criteria, just follow these steps:

1- press Alt+F7 (search)
2- define your search criteria (name, type, size, attribute etc...)
3- save this criteria (from Load/Save tab) and press Cancel (you don't have to do search)
4- go to Configuration> Options> Color - Define colors by file type - Add
5- select your criteria from "Or select predefined selection type:" list
6- press OK and choose color
7- press Ok, OK, OK
User avatar
ado
Senior Member
Senior Member
Posts: 445
Joined: 2003-02-18, 13:22 UTC
Location: Slovakia, Pezinok

Post by *ado »

Jqn wrote:My english is very bad, and probably I have not explained well.

I don't need "to select" files, but to see some ones, its names, in show lists (brief or full). For example:

Efvalc01.ffd
Efvalc02.ffd
Efvalc03.ffd
Efvall01.ffd
Efvcjl01.ffd
EFVCLI01.FFD --> This!. I need to locate it ASAP when I open the folder.
Efvcli02.ffd

JOAQUIN
does it means you want to add them to "color set" dynamicaly? Maybe this thread can be inspiration for you. It is about manual sorting using descript.ion, that you mentioned in first post. You can probably use it for coloring as well

ado
Jqn
Member
Member
Posts: 171
Joined: 2003-02-26, 16:42 UTC
Location: Madrid (Spain)

Post by *Jqn »

2Hacker
Configuration - Options - Color - Define colors by file type - Add - EFVCLI01.FFD - OK - choose color - OK - OK - OK.
This solution is enough for my. It only give foreground color but it's enough.

2ado
You can probably use it for coloring as well
How can I do this?

JOAQUIN
User avatar
van Dusen
Power Member
Power Member
Posts: 684
Joined: 2004-09-16, 19:30 UTC
Location: Sinzig (Rhein), Germany

Post by *van Dusen »

2Jqn

You could use afeature of GlobalDIZ, which allows to assign files to user defined groups.

Example:

Assume, you like to group files by status like these ones (stupid example):
A = ToDo
B = In Process
C = Done
X = Undefined / To be investigated
Z = Irrelevant

Assume, the result should be look like this:
http://img58.imageshack.us/img58/3411/globaldizmenufilegroups1yo.png


1. Install GlobalDIZ

2. Define definitions for the wanted groups, one definition for each group...
http://img143.imageshack.us/img143/9761/defineselection6wj.png

...and define the wanted colors per definition (per group):
http://img143.imageshack.us/img143/7544/definecolorsbyfiletype9nx.png

3. (optional) Add a column, which will show the file group name to any cutom column view:
http://img143.imageshack.us/img143/2280/customcolumns9bb.png

4. Add for each group one button to your button bar. If you like to use a button menu as shown in step 2, try TCmenu. For the shown GlobalDIZ menu, you could use this buttonbar definition (save it as <globaldiz.bar>):

Code: Select all

[Buttonbar]

buttoncount=9

button1=C:\PROGRA~1\TotalCmd\Icons\STATUS~1.ICO
cmd1=C:\PROGRA~1\TotalCmd\PlugIns\GLOBAL~1\add_diz.exe
param1=/GROUP=A /LIST=%L
path1=
menu1=A: Zu erledigen

button2=C:\PROGRA~1\TotalCmd\Icons\STATUS~2.ICO
cmd2=C:\PROGRA~1\TotalCmd\PlugIns\GLOBAL~1\add_diz.exe
param2=/GROUP=B /LIST=%L
path2=
menu2=B: In Bearbeitung

button3=C:\PROGRA~1\TotalCmd\Icons\STATUS~3.ICO
cmd3=C:\PROGRA~1\TotalCmd\PlugIns\GLOBAL~1\add_diz.exe
param3=/GROUP=C /LIST=%L
path3=
menu3=C: Erledigt

button4=C:\PROGRA~1\TotalCmd\Icons\STATUS~4.ICO
cmd4=C:\PROGRA~1\TotalCmd\PlugIns\GLOBAL~1\add_diz.exe
param4=/GROUP=X /LIST=%L
path4=
menu4=X: Status zu klären

button5=C:\PROGRA~1\TotalCmd\Icons\ST2A01~1.ICO
cmd5=C:\PROGRA~1\TotalCmd\PlugIns\GLOBAL~1\add_diz.exe
param5=/GROUP=Z /LIST=%L
path5=
menu5=Z: Irrelevant

button6=
cmd6=
param6=
path6=
menu6=

button7=C:\PROGRA~1\TotalCmd\PlugIns\GLOBAL~1\add_diz.exe,4
cmd7=C:\WINDOWS\system32\cmd.exe
param7=/C del C:\PROGRA~1\TotalCmd\PlugIns\GLOBAL~1\ManSort.diz
path7=
menu7=Manuelle Sortierung entfernen

button8=C:\PROGRA~1\TotalCmd\PlugIns\GLOBAL~1\add_diz.exe,4
cmd8=C:\PROGRA~1\TotalCmd\PlugIns\GLOBAL~1\add_diz.exe
param8=/D /LIST=%L
path8=
menu8=Gruppenzuordnung für markierte Einträge löschen

button9=C:\PROGRA~1\TotalCmd\Icons\AUFRUM~1.ICO
cmd9=C:\PROGRA~1\TotalCmd\PlugIns\GLOBAL~1\add_diz.exe
param9=/C
path9=
menu9=Aufräumen (verwaiste Einträge entfernen)
You need an additional button to call the GlobalDIZ menu. This button should have the following parameters:

Command: Drive:\Path\to\TCmenu.exe
Parameters: Drive:\Path\to\GlobalDIZ.bar -L "%L"
Iconfile and Tooltip (e.g. "GlobalDiz menu") whatever you like.

Now you can select one or more files and set the status by choosing the appropriate entry from the GlobalDIZ menu.

If you have added a column for the status (caption in my example is "X"), you can sort the file list by status (leftclick on column header)

You can delete the assignment of marked files to any group by choosing the menu "Gruppenzuordnung für markierte Einträge löschen".
Post Reply