Hello all! I am sorry for making my first post a question but I really did try to solve the issue myself, and looked all over for answers.
What I am trying to do is make a simple CPU monitor using the Open Hardware Monitor plugin for Rainmeter, but instead of forcing a predefined name for the plugin to use I want to use the registry meter to find the hardware information. The problem is the OHM plugin doesn't allow variables or calling other measures in the use of its options. Is there a way around this?
I am still new and teaching myself the code so it might not be optimal
You can try setting DynamicVariables=1 on your [MeasureCPUclock] measure, but I have no idea if this plugin can use dynamic variables. If it doesn't, you might be stuck.
jsmorley wrote:You can try setting DynamicVariables=1 on your [MeasureCPUclock] measure, but I have no idea if this plugin can use dynamic variables. If it doesn't, you might be stuck.
Yes I have tried that, I just forgot to include that in my original post. That sadly doesn't work.
moshi wrote:as this value needs to be read only once, you could also add:
be careful when you plan to distribute that thing though. you'd need to reverse those changes made by the above measure.
Hmm I'll give that a try. I am assuming what this snippet does is replace the value directly within the .ini file my meter runs off? I didn't know rainmeter had those kinds of abilities. Good to know thanks! Could this be used to alter predefined variables as well? That would probably be a more streamlined solution, as the OHM plugin will read static variables. Hardware=#Variable# will work, for example.
EDIT: Thanks that worked better than I thought, and no errors are thrown even at first launch. I figured out on my own you can use this for variables and I am going to guess just about any snippet in rainmeter. I also see the power of the Disabled=1 function in helping to manage separate modules within a meter, so thanks for those tips!