First off, I am very new to Rainmeter, so it may well be a very easy fix.
What I am trying to do is have one of my honeycombs "folder" hidden unless my mouse is currently over it.
The probelm seems to be that, once it is Hidden, and my mouse leaves the group, the "folder" doesn't reappear.
Here is a video example:
https://i.gyazo.com/2f83375451e4ff981a8b197cc88ecbbe.mp4
Is this because it becomes inactive? And if so, how do I fix this?
This is the file:
_____________________________
[folder]
Meter=Image
ImageName=#@#Images\folder.png
H=90
LeftMouseUpAction=["folder.exe"]
[Rainmeter]
Update=1000
Group=folder
MouseOverAction=[!ShowFadeGroup "folder"]
MouseLeaveAction=[!HideFadeGroup "folder"]
...
____________________________
and here are the settings:
Thanks a lot for reading this!
Best,
Eggy
EDIT:
_________________________
This is how to make you honeycomb icons fade in and out, specail thanks to @balala
balala wrote:
Here is a short method to use a fade effect, using the ActionTimer plugin:In the first moment, the value of the Alpha variable is 255. This will determine the opacity of the image. 255 means fully opaque.Code: Select all
[Rainmeter] Update=1000 Group=folder MouseOverAction=[!CommandMeasure MeasureSlide "Stop 2"][!CommandMeasure MeasureSlide "Execute 1"] MouseLeaveAction=[!CommandMeasure MeasureSlide "Stop 1"][!CommandMeasure MeasureSlide "Execute 2"] [Variables] Alpha=255 U=[!UpdateMeasure "MeasureSlide"][!UpdateMeter "folder"][!Redraw] [MeasureSlide] Measure=Plugin Plugin=ActionTimer Group=Sliders ActionList1=Repeat FadeIn,20,25 FadeIn=[!SetVariable Alpha "(Clamp(#Alpha#+10,1,255))"]#U# ActionList2=Repeat FadeOut,20,25 FadeOut=[!SetVariable Alpha "(Clamp(#Alpha#-10,1,255))"]#U# DynamicVariables=1 [folder] Meter=Image ImageName=#@#Images\folder.png H=90 LeftMouseUpAction=["folder.exe"] ImageAlpha=#Alpha# DynamicVariables=1
When you're hovering the mouse over the skin, the FadeIn option of the [MeasureSlide] measure will be executed, which should increase the value of the Alpha variable. But it won't, because its value is already 255, which is the maximum possible.
But when you're leaving the skin, the FadeOut option will be executed, decreasing the value of the variable and implicitly fading out the image. When you1re hovering again the mouse over the skin, the variable will be increased and the image will fade in (and so on).
The important thing here is to set the value of the Alpha variable and with this to fade in and out the image.