I can get a value which is reported in RainMeter, but I have been trying to make a bar or line meter but can't get the RPM to convert to a percentage to enable them. The odd thing being when the RPM is under 1000 it works fine, when it goes over 1000 any calc I do only uses the first digit of the registry value (e.g. 940 = 940, 1099 = 1, 2056 = 2, etc). The value from the reg is "1,234 RPM" and even with a substitute to remove the , it's still behaving the same way.
Here's the measures:
Code: Select all
[mPump] Measure=Registry RegHKey=HKEY_CURRENT_USER RegKey=SOFTWARE\HWiNFO64\VSB Substitute=",":""," RPM":"" RegValue=Value20 [mPump2] Measure=Calc Formula=mPump DynamicVariables=1 [mPump3] Measure=Calc Formula=mPump2/4850 DynamicVariables=1
Any ideas what I'm doing wrong / how to resolve?