Hello.
Is it possible to set colors for custom column?
I want to set the colors for my "HardLinksColored" column (and not for the "Name" column) for files that have count of hardlinks greater than 1.
Thanks.
Colors for custom column
-
jupe
- Posts: 3478
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Colors for custom column
I am not aware of any way directly, but you could do it via SC drawing bars or circles to script it to draw a different color bar depending on the value you get, that would seem to achieve what you want.
You can paste the following into the XY address bar for more information if you are interested:
So your column could look like the size column pictured below with your own custom colors:

You can paste the following into the XY address bar for more information if you are interested:
Code: Select all
help "idh_customcolumns.htm#idh_ccdrawingbars";
-
BNyzjrCWDf
- Posts: 15
- Joined: 25 Jan 2018 20:42
Re: Colors for custom column
I believe that it would be convenient to specify the colors for the columns as follows
To see the attached files, you need to log into the forum.
-
jupe
- Posts: 3478
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Colors for custom column
Although you can use instant color filters instead, you asked for it not to color the Name column, which they do, that is why I suggested colored bars because the color will only be visible in the custom column.BNyzjrCWDf wrote:I want to set the colors for my "HardLinksColored" column (and not for the "Name" column)
-
BNyzjrCWDf
- Posts: 15
- Joined: 25 Jan 2018 20:42
Re: Colors for custom column
I need this
not this
To see the attached files, you need to log into the forum.
-
jupe
- Posts: 3478
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Colors for custom column
Initially I thought that you just wanted the color in the column, and you would know the value automatically by the different colors, but instead you want them both to be combined so my suggestion would be to create custom icons and then show a different one depending on the value.
You could use the following site, or another of your own choosing
https://www.iconsdb.com/black-icons/?search=number
and enter the hex color code you want for each number so they are different depending on the value, then use a custom column of type icon.
quick example:
You could use the following site, or another of your own choosing
https://www.iconsdb.com/black-icons/?search=number
and enter the hex color code you want for each number so they are different depending on the value, then use a custom column of type icon.
quick example:
To see the attached files, you need to log into the forum.
-
BNyzjrCWDf
- Posts: 15
- Joined: 25 Jan 2018 20:42
Re: Colors for custom column
Will I need to create, download and use 1024 icons?
Do I need to redraw 1024 icons if I want to change the color?
In my opinion, this is not the most convenient solution.
Also I want to set the color for junctions, mount points, symbolic links, shortcuts in the "TypeColored" custom column. I want to use the "Name" column to highlight the compressed/encrypted files.
So I need to be able to set the color for a custom columns (TypeColored, HardLinksColored).
Do I need to redraw 1024 icons if I want to change the color?
In my opinion, this is not the most convenient solution.
Also I want to set the color for junctions, mount points, symbolic links, shortcuts in the "TypeColored" custom column. I want to use the "Name" column to highlight the compressed/encrypted files.
So I need to be able to set the color for a custom columns (TypeColored, HardLinksColored).
-
jupe
- Posts: 3478
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Colors for custom column
Of course you wouldn't download 1024 icons! You would download just the number 1, and/or the number 2, or the number 3, anyway it was just a suggestion, do whatever you want...
If you want to color items like in this screenshot, which colors the name column, not the custom column, you can use color filters or instant color filters.

If you want to color items like in this screenshot, which colors the name column, not the custom column, you can use color filters or instant color filters.

You will need to post this in Wishes if you really need it, because AFAIK its not currently possible.BNyzjrCWDf wrote:So I need to be able to set the color for a custom columns (TypeColored, HardLinksColored).
-
BNyzjrCWDf
- Posts: 15
- Joined: 25 Jan 2018 20:42
Re: Colors for custom column
No. Perhaps you thought so, because English is not my native language.are you purposefully trying to be dismissive?
What icon do I need if the file has 785 hard links?you would download just the number 1, or the number 2, or the number 3
Thanks for the advice. But I always read the help before writing messages on the forum.you could start by reading the help file
I know this.If you want to color items like in this screenshot, which colors the name column, not the custom column, you can use color filters or instant color filters.
In the end, I want to get this
To see the attached files, you need to log into the forum.
-
jupe
- Posts: 3478
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Colors for custom column
Sorry I am just trying to suggest workarounds because what you really want isn't available, read the last sentence of my previous post about making it a Wish.
I didn't realize the numbers would go that high going from your previous screenshot showing what you required, but in that case you would need 3 icons namely, 7,8,5, here is a screenshot showing that 3 icons can be visible side by side (they are in different colors but in your situation they wouldn't be) I was wrongly assuming the hard links were 1 digit because you said you were coloring any larger than 1 red, and that is what you showed in the requirement screenshot.BNyzjrCWDf wrote:What icon do I need if the file has 785 hard links?
To see the attached files, you need to log into the forum.
XYplorer Beta Club