Bulk color value changes via XYplorer.ini...
-
- Posts: 840
- Joined: 26 Apr 2010 17:48
Re: Bulk color value changes via XYplorer.ini...
so you are telling me to just use a converter. can you at least tell me what are the names of the color systems i'm converting between?
Re: Bulk color value changes via XYplorer.ini...
I'd think it's not about (converting) color systems, but converting decimal to hex.ghost zero wrote:so you are telling me to just use a converter. can you at least tell me what are the names of the color systems i'm converting between?
Win11 Pro 223H2 Gerrman
-
- Posts: 840
- Joined: 26 Apr 2010 17:48
Re: Bulk color value changes via XYplorer.ini...
do you know where i can find such a converter? any good websites for it?
Re: Bulk color value changes via XYplorer.ini...
I hacked together this script, it is mostly not my work, but if you are interested here it is, it does conversions both ways, single item at a time though, but you should be able to modify it to do them in bulk if you want. I didn't bother cleaning up the code, I only made it functional. (AFAICT)
There are probably better ways to achieve this, but I just cobbled this together anyway, if it is of any help to you.
PS: Where the code came from: viewtopic.php?f=7&t=11659#p104440
Code: Select all
"HEX2Dec"
$a = input("Hex color",, "B8B4B1");
echo hextodec(substr($a, 4, 2) . substr($a, 2, 2) . substr($a, 0, 2));
"Dec2HEX"
$vbs = <<<>>>
InputList = WScript.Arguments.Unnamed(0)
splitList = split(InputList,"*")
for each x in splitList
toHex = Hex(x)
convList = convList & "*" & toHex
next
convList = Mid(convList,2)
WScript.Echo convList
>>>;
writefile("%TEMP%\dec2hex.vbs", $vbs);
$a = input("Dec color",, "16710133");
$a = runret("cscript %TEMP%\dec2hex.vbs $a //nologo");
echo substr($a, 4, 2) . substr($a, 2, 2) . substr($a, 0, 2);
delete 0, 0, "%TEMP%\dec2hex.vbs";
PS: Where the code came from: viewtopic.php?f=7&t=11659#p104440
-
- Posts: 840
- Joined: 26 Apr 2010 17:48
Re: Bulk color value changes via XYplorer.ini...
i'm not familiar with using scripts. is there an easier way? are there any good websites that have such a converter?
Re: Bulk color value changes via XYplorer.ini...
Very very interested in the Dark Theme as well. Old eyes like dark slate background and off white fonts if that's the plan. Too stark can be just as stressful to the eyes so please keep that in mind. I've tried to make my own dark theme but the way things are set up currently the dark theme I made affects only ONE folder view at a time, not what I had in mind.
Thank you!
-
- Site Admin
- Posts: 60597
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Bulk color value changes via XYplorer.ini...
... only ONE folder view at a time? Not completely sure what you mean but sure that you can do better than that. The current version lets you configure quite a lot of colors, and when you work at home and like all your apps dark then you can go 100% dark with XYplorer already now via system settings plus some XYplorer config. When I said I plan to add a Dark Theme, I was just thinking of portable usage. For home usage there is nothing that could stop you from having it already now. Somewhere in this forum there is a beautiful screenshot of a 100% dark XYplorer to prove it.RAMWolff wrote: ↑02 Dec 2018 03:10 Very very interested in the Dark Theme as well. Old eyes like dark slate background and off white fonts if that's the plan. Too stark can be just as stressful to the eyes so please keep that in mind. I've tried to make my own dark theme but the way things are set up currently the dark theme I made affects only ONE folder view at a time, not what I had in mind.
FAQ | XY News RSS | XY Twitter
Re: Bulk color value changes via XYplorer.ini...
Wish there were themes that could be applied to the home user's XYplorer then.... I did figure out how to make it all go dark by the way but the UI is still bright white.... Be nice to have that go dark too! Too much of a contrast.
-
- Site Admin
- Posts: 60597
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Bulk color value changes via XYplorer.ini...
Bright white? Check out this:
viewtopic.php?p=154012#p154012
viewtopic.php?p=154012#p154012
FAQ | XY News RSS | XY Twitter