I'm working on my first skin, it's a ticker for cryptocurrencies. I wanted to display the latest changes in price and tried to color it based on the value of the change. For example, 0.5 should be green, -1.24 should be red.
I've tried using variables, that didn't work either, below is my most recent try, any help would be appreciated
When BTCChange is below 0, text color is red, 0 to 1, green, above 1, grey. Modify as you like. Read interval from the website is 10 minutes (600 seconds).
Just an unrelated FYI, !Redraw by itself does pretty much absolutely nothing. !Redraw should always and only be used after !UpdateMeter or !UpdateMeterGroup.
See the way Rainmeter works is that in each Update cycle it first updates measures, then it updates meters, then it redraws the skin window. If you are trying to have some action that changes a meter happen "now", rather than waiting for the next Update cycle, (which is something you will often want to do with mouse actions) you need to manually update the meters before you force the redraw, or the redraw will just be done with the old meter settings and values.
It's broken out this way for a reason. You might just use !Update and update the entire skin "now", but that is pretty brute-force, and will update ALL measures and ALL meters, and then redraw, when you might be making a change to only one meter. So we break the redraw out to its own thing, so you can do very targeted and efficient forced updates.
Will change the FontSize option on the meter to 12, and then redraw the skin window using whatever the FontSize was before the change. You haven't updated the meter to "use" the new setting yet.
When BTCChange is below 0, text color is red, 0 to 1, green, above 1, grey. Modify as you like. Read interval from the website is 10 minutes (600 seconds).