![]() ![]() If you don't understand something please let me know. I have tried making the measures and/or the meter a disabled group and enabling the group after CurrentTemperature is parsed in CurrentConditionsParent (from. IfCondition=MeasureCore0Load 50) & (MeasureCore0Load 75 I cant figure out how to pause the display of the temperature and degree symbol on initial load and/or refresh until the actual RGB value for the temperature is resolved. ![]() IfCondition=MeasureCore0Temp 50) & (MeasureCore0Temp 60) & (MeasureCore0Temp 70 IfAboveAction=!SetOption Core0LoadBar BarColor #Red# IfEqualAction=!SetOption Core0LoadBar BarColor #Yellow# IfBelowAction=!SetOption Core0LoadBar BarColor #LoadBlue# ![]() ![]() IfCondition=(Core0TempPercent >=0) & (Core0TempPercent 50) & (Core0TempPercent 60) & (Core0TempPercent 70) & (Core0TempPercent <= 100)įormula=(Core0LoadPercent < 51 ? -1 : (Core0LoadPercent < 76 ? 1 : 2)) I haven't actually tested your code, but it couldn't hurt to try this if you continue having issues. One more thing, you may need to use IfConditionMode=1 to ensure that the values are taken into account on every update. Look at the fixed code above for an example. Your second IfCondition statement should skip to the second number (Instead of IfCondition1 use IfCondition2) and so on. *Also you should start your first IfCondition without a number appended to the end (Instead of IfCondtion0 use IfCondition). IfTrueAction4=!SetOption Core0TempBar BarColor #Red1# IfCondition=(Core0TempPercent >= 0) & (Core0TempPercent 50) & (Core0TempPercent 60) & (Core0TempPercent 70) & (Core0TempPercent <= 100) Here is a selection of code that works with three colors using IfActions that I had previously been using: I want to use the IfConditions function instead of IfActions because IfActions only allows for three ranges and colors and I wish to use four or more colors. This particular code gives me the default white color for every temperature range. IfTrueAction3=!SetOption Core0TempBar BarColor #Red1# IfTrueAction2=!SetOption Core0TempBar BarColor #Orange1# IfTrueAction1=!SetOption Core0TempBar BarColor #Yellow1# Use the task scheduler to make Rainmeter run with the administrator privilege at boot time. Copy (CPUTemp.dll) to rainmeters plugins folder or user plugins folder. I've also tried !PauseMeasure and that didn't seem to work either.IfTrueAction0=!SetOption Core0TempBar BarColor #Blue1# Select the bits of plug-ins according to rainmeter bits. I have tried making the measures and/or the meter a disabled group and enabling the group after is parsed in (from WeatherComJSONMeasures3Day.inc), but that doesn't seem to work. I can't figure out how to pause the display of the temperature and degree symbol on initial load and/or refresh until the actual RGB value for the temperature is resolved. The blue I am assuming is the RGB value associated with zero degrees for either temperature type/scale. Once loaded, the color changes on the update cycle directly from the previous color to the new color without any interim white or blue. This only occurs on initial load or a skin refresh. If I comment out the measures MeasureColorF and MeasureColorC and then rename the measures MeasureColorFCalc and MeasureColorCCalc to MeasureColorF and MeasureColorC, respectively (as it is shown above and which would be my preferred method as everything is contained in a single measure for each temperature type/scale), the degree symbol will load in white and then it is replaced with the temperature and degree symbol in the same blue color as before, then finally it is replaced with the temperature and degree symbol in the correct color. When run as it is in the attached skin where there are two measures each for both temperature types/scales (MeasureColorFCalc, MeasureColorF, MeasureColorCCalc, MeasureColorC), the degree symbol will load in blue and then it is replaced with the temperature and degree symbol in the correct color. One issue I haven't been able to work out. Also, I used a bold font as it allows for a little more color to be visible and makes it easier to see slight differences in the colors.ĭynamicColor_1.0.rmskin (7.98 KiB) Downloaded 49 times This skin features multiple meters including weather meter, wireless meter, CPU usage, battery usage, and many more. If MeasureTemp was not escaped with asterisks there, the value for green was incorrectly calculated when MeasureTemp was a positive number. The Gadgets skin by Rainmeter is simply amazing for you if you want to customize your desktop with hardware usage meters. The MeasureTemp escaped with asterisks in IfTrueAction5 of MeasureColorF above is necessary in this step. IfTrueAction6=[!SetOption MeasureColorC String Bold IfCondition2=(MeasureTemp > 23) & (MeasureTemp 0) & (MeasureTemp -46) & (MeasureTemp < 0) IfCondition2=(MeasureTemp > 73.5) & (MeasureTemp 32) & (MeasureTemp -51) & (MeasureTemp = 46 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |