It is currently November 21st, 2019, 10:20 am

Change color set from measure 1 to measure 2 in a meter

Help with creating, editing & fixing problems with skins
User avatar
Pul53dr1v3r
Posts: 282
Joined: July 30th, 2014, 10:30 am

Re: Change color set from measure 1 to measure 2 in a meter

Pul53dr1v3r » November 6th, 2019, 10:24 pm

SOLVED! I'm sorry that i have a bit slow brain. I tried exactly the same solutution earllier but didin't work. Probably i made a mistake somewhere else so then so it's working now. :???: But if anyone else see anything wrong or knows a better solution, i'm all ears.

Code: Select all

[MeasureShow8DayForecastR1]
Measure=Calc
Formula=(#show8DayForecastR1#+#showNext36h#)
IfCondition=(#show8DayForecastR1#=0)&&(#showNext36h#=0)
IfTrueAction=[!SetOption Meter8DayForecastR1CheckBox Text "#HideBox#"][!DisableMouseAction "Meter8DayForecastR2CheckBox" "LeftMouseUpAction"][!DisableMouseAction "Meter8DayForecastR2CheckBox" "MouseOverAction"][!DisableMouseAction "Meter8DayForecastR2CheckBox" "MouseLeaveAction"][!SetOption "Meter8DayForecastR2CheckBox" "FontColor" "#colorRadioButtonOff_Set#"]
IfCondition2=(#show8DayForecastR1#=1)&&(#showNext36h#=0)
IfTrueAction2=[!SetOption Meter8DayForecastR1CheckBox Text "#ShowBox#"][!DisableMouseAction "Meter8DayForecastR2CheckBox" "LeftMouseUpAction"][!DisableMouseAction "Meter8DayForecastR2CheckBox" "MouseOverAction"][!DisableMouseAction "Meter8DayForecastR2CheckBox" "MouseLeaveAction"][!SetOption "Meter8DayForecastR2CheckBox" "FontColor" "#colorRadioButtonOff_Set#"]
IfCondition3=(#show8DayForecastR1#=0)&&(#showNext36h#=1)
IfTrueAction3=[!SetOption Meter8DayForecastR1CheckBox Text "#HideBox#"][!DisableMouseAction "Meter8DayForecastR2CheckBox" "LeftMouseUpAction"][!DisableMouseAction "Meter8DayForecastR2CheckBox" "MouseOverAction"][!DisableMouseAction "Meter8DayForecastR2CheckBox" "MouseLeaveAction"][!SetOption "Meter8DayForecastR2CheckBox" "FontColor" "#colorRadioButtonOff_Set#"]
IfCondition4=(#show8DayForecastR1#=1)&&(#showNext36h#=1)
IfTrueAction4=[!SetOption Meter8DayForecastR1CheckBox Text "#ShowBox#"][!EnableMouseAction "Meter8DayForecastR2CheckBox" "LeftMouseUpAction"][!EnableMouseAction "Meter8DayForecastR2CheckBox" "MouseOverAction"][!EnableMouseAction "Meter8DayForecastR2CheckBox" "MouseLeaveAction"][!SetOption "Meter8DayForecastR2CheckBox" "FontColor" "#colorRadioButton_Set#"]
OnChangeAction=[!UpdateMeter *][!Redraw]
DynamicVariables=1
Group=Forecast
so it's the only measure i had to work with. :handtohead: :headbang:
User avatar
balala
Rainmeter Sage
Posts: 9107
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Change color set from measure 1 to measure 2 in a meter

balala » November 7th, 2019, 6:38 pm

Pul53dr1v3r wrote:
November 6th, 2019, 10:24 pm
SOLVED!
Glad if you got it working as wanted. :thumbup: