Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 695

Help: Rainmeter Skins • Re: How to change colors within skins

$
0
0
Up to you of course, but I think it might be more esthetically pleasing to do it with the first three (standard abbreviation) white and the rest black...

Code:

[MeterString]Meter=StringFontSize=16SolidColor=0,0,0,1Text=ThursdayInlineSetting=Color | 255,255,255,255InlinePattern=(\w\w\w).*InlineSetting2=Color | 0,0,0,255InlinePattern2=\w\w\w(.*)AntiAlias=1

1.jpg
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday

Just FYI, there is really no easy way to determine "half" of a string, since Rainmeter doesn't keep track of string length by "characters", but only by "pixels". To count characters, you are going to need either a fairly complicated (Rube Goldberg'ish) Substitute option, or the use of a reasonably simple Lua script.

In any case, Tuesday and Wednesday CANNOT be equally divided in half...

Statistics: Posted by jsmorley — Yesterday, 5:12 pm



Viewing all articles
Browse latest Browse all 695

Trending Articles