I may be in way over my head here but I've been trying to make an image that "Expands" on MouseOverAction/MouseLeaveAction or LeftMouseUpAction (dependant on what works best). I'm pretty new to rainmeter so apologies if I'm missing some major concepts here as to why I'm not getting the intended effect.
So far I have some images ontop of the larger image that function as icons, though I'd like to make them fade in with the same MouseOverAction or LeftMouseUpAction as the one that changes position of all the images. I currently have the variable that controls the position of everything being changed with the ActionTimer plugin. That works! What doesn't work though, is my attempt to change the variable that controls the alpha value for some of the images to get the desired fade effect.
Thanks in advance for any help!
This is what I've got so far:
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[Variables]
U=[!UpdateMeasureGroup Sliders][!UpdateMeterGroup Sliders][!Redraw]
W=10
Offset=-190
SlideAmount=10
NormalColor= 255,255,255,#Alpha#
HoverColor=255,255,255,75
PalletColor=45,32,228,255,255
Aplha=1
FadeAmt=25
[MeasureSlider]
Measure=Plugin
Plugin=ActionTimer
Group=Sliders
ActionList1=Repeat Open,#W#,20
ActionList2=Repeat Close,#W#,20
ActionList3=Repeat FadeIn,#W#,20
ActionList4=Repeat FadeOut,#W#,20
Open=[!SetVariable Offset "(Clamp(#Offset#+#SlideAmount#,-190,0))"]#U#
Close=[!SetVariable Offset "(Clamp(#Offset#-#SlideAmount#,-190,0))"]#U#
FadeIn=[!SetVariable Alpha "(Clamp(#Alpha#+#FadeAmt#,1,255))"]#U#
FadeOut=[!SetVariable Alpha "(Clamp(#Alpha#-#FadeAmt#,1,255))"]#U#
IfCondition=#Offset# = -190
IfTrueAction=[!SetOption MeterPanel LeftMouseUpAction """[!CommandMeasure MeasureSlider "Stop 2"][!CommandMeasure MeasureSlider "Execute 1"]"""]
IfCondition2=#Offset# = 0
IfTrueAction2=[!SetOption MeterPanel LeftMouseUpAction """[!CommandMeasure MeasureSlider "Stop 1"][!CommandMeasure MeasureSlider "Execute 2"]"""]
IfCondition3=#Offset# >= -189
IfTrueAction3=[!CommandMeasure MeasureSlider "Stop 4"][!CommandMeasure MeasureSlider "Execute 3"]
IfCondition4=#Offset# <= 0
IfTrueAction4=[!CommandMeasure MeasureSlider "Stop 3"][!CommandMeasure MeasureSlider "Execute 4"]
DynamicVariables=1
[MeterPanel]
Meter=Image
Group=Sliders
Y=(0 + #Offset#)
W=176
H=250
SolidColor=#PalletColor#
DynamicVariables=1
[MeterKovaaksContainer]
Meter=Image
Group=Sliders
ImagePath=C:\Users\Imort\Documents\Rainmeter\Skins\Dynamic-Objects\@Resources\Images\Icons
ImageName=BackgroundIcon.png
ImageTint = #NormalColor#
W=150
H=45
X=13
Y=(195 + #Offset#)
MouseOverAction=[!SetOption #CURRENTSECTION# ImageTint #HoverColor#][!UpdateMeter #CURRENTSECTION#][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# ImageTint #NormalColor#][!UpdateMeter #CURRENTSECTION#][!Redraw]
LeftMouseUpAction="steam://rungameid/824270"
DynamicVariables=1
[MeterKovaaks]
Meter=Image
Group=Sliders
ImagePath=C:\Users\Imort\Documents\Rainmeter\Skins\Dynamic-Objects\@Resources\Images\Icons
ImageName=KovaaksW.png
ImageTint=255,255,255,200
H=67
X=54
Y=(186 + #Offset#)
AntiAlias=1
DynamicVariables=1