I want to use a red bar image instead of a green one if the percent goes below %20. but even if i add the substitute value for .00000 But the image shows correctly just for a moment and dissappears.Is there a simple way to do it or what am i doing wrong?
JpsCrazy wrote:Put 'dynamic variables' under the measure, not the meter.
Maybe delete the spaces?
I don't see the point of ".000000":""
No, "DynamicVariables=1" definitely needs to be with the meter. The reason ".00000":"" is there is that when you use a number as a dynamic variable, Rainmeter automatically tacks on 5 decimal places. If you are trying to use that number as a filename, the extra zeroes will cause an error, so they need to be substituted into nothing.
As for the problem, try adding these two lines to [MeasurePercent]:
I always thought that it had to be with the Substitute. Oh well.
I kinda feel like I should stop trying to help people, seeing as 4/5 times I'm wrong. :P
Not sure of the look you are after but here is what I did. I have a PNG that has sixteen frames. When my battery is full, its all green, as it decays, it starts to turn to various shades of orange and then finally red.
That is a very interesting approach for a battery meter. Also, I finally understand how a bitmap meter can be used.
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .