It is currently July 11th, 2020, 8:29 pm

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

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

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

Post by pul53dr1v3r »

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: 11008
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

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

Post by balala »

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