I'm fairly new to Rainmeter in general and especially making Skins myself but I think I more or less understood how the application of the ActionTimer plugin in this case works (well apparently not since it doesn't work as I want it to ) and I've implemented the example of the above mentioned post into my launcher skin which brings me to my problem:
1. FadeOut not working (https://www.youtube.com/watch?v=2p7OOXELVPY | Warning: flashing lights in the last 5 seconds of the video)
I'm not sure if you can see it on the video I've linked but while the FadeIn works as desired the FadeOut does not but instead instantly transitions back to the desktop, which although not as bad as an instant transition on the FadeIn, is still kinda hard to look at. Now I'm mostly unsure why it's doing that and how to fix it as the MouseLeaveAction and the Stop 1 as well as Execute 2 seem to be implemented correctly (to me that is). Any ideas?
On top of that I noticed that when I transition and hover over different icons very fast the FadeIn background does not reset from its full 100 alpha but instead stays there, skipping the FadeIn effect. Further since the FadOut isn't working this turns into kind of an strobe light effect. My theory here is that I start the new FadeIn of the next icon before it even had time to reset. In which case my question would be if there's a way to prevent that without just making the action faster? Or maybe I'm wrong and it's due to the FadOut not working
Anyway here's the my code:
Code: Select all
[Rainmeter]
Update=100
[MeasureFade]
Measure=Plugin
Plugin=ActionTimer
Group=Sliders
ActionList1=Repeat FadeIn,20,10
FadeIn=[!SetVariable Alpha "(Clamp((#Alpha#+12.75),0,255))"]#Fade#
ActionList2=Repeat FadeOut,20,10
FadeOut=[!SetVariable Alpha "(Clamp((#Alpha#-12.75),0,255))"]#Fade#
DynamicVariables=1
[Variables]
Fade=[!UpdateMeasure "MeasureFade"][!UpdateMeterGroup "Hover"] [!Redraw]
Alpha=255
[Background]
Meter=Image
ImageName="Background.png"
H=336
W=48
X=0
Y=0
ImageAlpha=1
Code: Select all
[MeterLaunchChrome]
Meter=Image
ImageName=Icons\Chrome.png
W=48
H=48
X=300
Y=820
OnHover=1
LeftMouseUpAction=["%windir%\Brave"]
MouseOverAction=[!ShowMeter MouseHover] [!ShowMeter LightUpChrome] [!CommandMeasure "MeasureFade" "Execute 1"] [!CommandMeasure "MeasureFade" "Stop 2"] [!Redraw]
MouseLeaveAction=[!HideMeter MouseHover] [!HideMeter LightUpChrome] [!CommandMeasure "MeasureFade" "Stop 1"] [!CommandMeasure "MeasureFade" "Execute 2"] [!Redraw]
Code: Select all
[LightUpChrome]
Meter=Image
ImageName=Icons\Chrome.png
W=48
H=48
X=300
Y=820
Hidden=1
Code: Select all
[LightUpChrome]
Meter=Image
ImageName=Icons\Chrome.png
W=48
H=48
X=300
Y=820
Hidden=1