Files without extension: setting colour problem!

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

?????

Post by *Clo »

2Lefteous
:? Sorry, I don't understand, there is a colour code #2 corresponding with *. ? Is the angle-bracket normal here?

ColorFilter2=>*.
ColorFilter2Color=231631

Are hexa values accepted here? Easier if yes...
:P Please, don't forget lunch!
8) To see a bit later....

:mrgreen: VG
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Clo
Is the angle-bracket normal here?
Yes they are used for predefined selection types.
Are hexa values accepted here? Easier if yes...
Yes, they are supported, use $FF00FF for example.
krojc
Junior Member
Junior Member
Posts: 71
Joined: 2003-08-20, 08:46 UTC

Post by *krojc »

djk wrote:IMO It's not enough for krojc. He probably wants to mark only some of files so he probably needs additional functionality of TC (priorities).
Yes! I am obviously not capable explaining my thoughts. This happened before on this forum! :)

You also gave me an answer; not supported functionality, so I'd like to put this on wishlist. As for the colour of the files without extension I believe, that some files should stay "normal". I do not change default looks and functionality of TC except for plugs. It works for me out of floppy!
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Stone-head command!

Post by *Clo »

2Lefteous
:D Hello again!
:? I wanted rest for some hours, because I were on the deck for 20 hours!
:arrow: I set an hexa value (the value has the true color) like below:

[Colors]
ColorFilter1=*.exe
ColorFilter1Color=16711680
ColorFilter2=>*.
ColorFilter2Color=$D46F00

:( That doesn't work, no-extension files remain black…
:arrow: I checked all attributes but directories.
• Something goes wrong, I'll try under XP-Pro
:?:
:mrgreen: Gruß
Clo
Last edited by Clo on 2004-01-12, 21:56 UTC, edited 1 time in total.
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Clo

Use this (edited entry shown bold):

[Colors]
ColorFilter1=*.exe
ColorFilter1Color=16711680
ColorFilter2=>files without extensions
ColorFilter2Color=$D46F00

ColorFilter3=*.txt
ColorFilter3Color=4210816
ColorFilter4=*.htm
ColorFilter4Color=4227327
ColorFilter5=*.html
ColorFilter5Color=4227327
ColorFilter6=*.ini
ColorFilter6Color=10748068
ColorFilter7=*.dll
ColorFilter7Color=32768
ColorFilter8=*.png
ColorFilter8Color=8126713
ColorFilter9=*.bmp
ColorFilter9Color=7442036
InverseCursor=1
InverseSelection=0
BackColor=16121793
ForeColor=-1
MarkColor=-1
CursorColor=9685503
CursorText=0
CompareText=12976128
ColorFilter10=*.gif
ColorFilter10Color=4160636
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Orange is blue!

Post by *Clo »

2Lefteous
:D Hallo!
:P That works now, thanks, but the colour is... medium blue!
:wink: Maybe the blue code is elsewhere ...??

:?:
:mrgreen: VG
Clo
Last edited by Clo on 2004-01-13, 01:39 UTC, edited 1 time in total.
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Clo
but the colour is... medium blue!
Maybe defining colors by hex values as not as easy as you thought :lol:

It seems to me as if the color is shown inverse.. strange somehow
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Orange is orange

Post by *Clo »

2Lefteous
:D Sorry, no, it's dark orange, like its value on a previous post here.
:arrow: I've a tool in my HTML editor to set this, it's right. I use this for years... It can't be blue in anyway, since blue = 00 !
:arrow: I've too the MS standard colours, I can change for the nearest...
:?:
8) VG
Clo
Last edited by Clo on 2004-01-13, 01:23 UTC, edited 1 time in total.
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Clo

Use calc: InverseColor = FFFFFF - D46F00

This is the blue color....
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Reverse (crazy a bit!)

Post by *Clo »

2Lefteous
:) Reverse colour is $2B09FF as it looks here!
BIZARRE! (Strange, odd...)
:?: But what is reversing the colour-value :lol: A bug???
:) VG
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Clo

I took a closer look on the color. The color is not inverted - red and blue are exchanged. Shame on me.
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Details are better...

Post by *Clo »

2krojc
:D Hello!

8) Thank you for this explanation of your needs with more details…
:arrow: Like you can see here, only the colour for no-extension files problem caused a flow of posts! :lol:
:arrow: To polish up the sorting of your no-extension files, the one remaining criterion should be the file-name lenght
• For instance, a sort from 1 up to 3 characters, another from 3 up to 6 characters, then from 6 up to n… characters and so on.
8) It's just an idea to help you, in order you could present your feature request clearly…
:P Hoping that the Author shall have a look here,
:mrgreen: kind regards,
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Forgiven!

Post by *Clo »

2Lefteous
I took a closer look on the color. The color is not inverted - red and blue are exchanged. Shame on me.
:D Hello!
8) You're quite forgiven, since you help a lot here! Thanks again.
• So, I used the complement to white $2B09FF instead the wanted colour $D46F00
:| That looks in the right "red/orange" range, but false a bit, because the pannel background colour (#BBFFFF) causes an undesirable combination…That'ld worth a supplemental light correction; maybe it could be calculated (or made by guesswork!).
¤ Note: it's an odd phenomenon that I noted already in another program (Delphi-5™ ), using a cream coloured background…
:( With a decimal value R G B , that no longer works again…
:P Ah! What a relief! In any case, an improvement of TC about this subject seems necessary.
:wink: I've an idea… Sh!
:mrgreen: Viel Grüße, cordialement, kind regards,
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Clo

Try this:

$D46F00 means D4 for red, 6F for green and 00 for blue. Exchanging red and green will result in 00 for red, 6F for green and D4 for blue = $006FD4 -> this is the blue color, but it will be displayed as $D46F00 (orange) in Total Commander.
User avatar
Aezay
Senior Member
Senior Member
Posts: 269
Joined: 2003-02-12, 07:27 UTC
Location: Denmark
Contact:

Post by *Aezay »

Lefteous wrote:I took a closer look on the color. The color is not inverted - red and blue are exchanged. Shame on me.
The reason for this is that PC/Intel processors run in little endian mode, so red and blue suppose to be exchanged like this. If you want to know more about little/big endian, just search on google.
Of all the planets I've been to, this one is my favorite.
Post Reply