I would like to display bars for all cores separately at the same time. But I want the number of bars to appear dynamically depending on the number of cores.Do you want to sequentially, once every 1000 ms, display one core at a time going from 1 to the number of cores? Or do you want to display all available cores, from 1 to the number of cores, at the same time?
The former is done by dynamically passing the loop number to a measure that yields the corresponding core which should then be displayed by a meter. The latter is done by creating a sufficient number of measures and meters for all your cores and hiding the meters corresponding to the cores you don't have.
Also, you don't need to hardcode the number of cores in a variable, you can use the %NUMBER_OF_PROCESSORS% environment variable in a Calc measure, or retrieve the said number via a Registry measure pointing to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\NUMBER_OF_PROCESSORS path in the registry, among others.
References:
- https://docs.rainmeter.net/manual/meters/general-options/#Hidden
- https://docs.rainmeter.net/manual/measures/calc/
- https://docs.rainmeter.net/manual/measures/registry/
I want to use the %number_of_processor% variable to display bars for cores from 1 to %number_of_processor%. I don't want to do copy-paste for 32 cores in the ini file.
I understand that there is no way to make a for loop that will display a list of 1,2,3,4,5,6,7,8,9 ... ,32. depending on what value I enter in the variable.
Statistics: Posted by mkf118 — 32 minutes ago