Re: Bulk color value changes via XYplorer.ini...
Posted: 29 Aug 2018 18:36
Forum for XYplorer Users and Developers
https://www.xyplorer.com/xyfc/
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?
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";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.
... 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.