Code: Select all
[MeterPlayPause]
Meter=String
X=(201*#WVar#+#SO#)
Y=(-32*#HVar#)r
MeterStyle=Symbols
Text=[#[&MeasurePlayPause]]
LeftMouseUpAction=[!CommandMeasure MeasurePlayPause "PlayPause"]
MouseOverAction=[!SetVariable AlphaName "Alpha#CurrentSection#"][!CommandMeasure MeasureAnimation "Stop 5"][!CommandMeasure MeasureAnimation "Execute 4"]
MouseLeaveAction=[!CommandMeasure MeasureAnimation "Stop 4"][!CommandMeasure MeasureAnimation "Execute 5"]
DynamicVariables=1
[MeterNext]
Meter=String
X=(15*#WVar#)R
Y=r
MeterStyle=Symbols
Text=[\xe044]
LeftMouseUpAction=[!CommandMeasure MeasurePlayPause "Next"]
MouseOverAction=[!SetVariable AlphaName "Alpha#CurrentSection#"][!CommandMeasure MeasureAnimation "Stop 5"][!CommandMeasure MeasureAnimation "Execute 4"]
MouseLeaveAction=[!CommandMeasure MeasureAnimation "Stop 4"][!CommandMeasure MeasureAnimation "Execute 5"]
DynamicVariables=1
[MeterPrevious]
Meter=String
X=(-70*#WVar#)r
Y=r
MeterStyle=Symbols
Text=[\xe045]
LeftMouseUpAction=[!CommandMeasure MeasurePlayPause "Previous"]
MouseOverAction=[!SetVariable AlphaName "Alpha#CurrentSection#"][!CommandMeasure MeasureAnimation "Stop 5"][!CommandMeasure MeasureAnimation "Execute 4"]
MouseLeaveAction=[!CommandMeasure MeasureAnimation "Stop 4"][!CommandMeasure MeasureAnimation "Execute 5"]
DynamicVariables=1
Code: Select all
[MeasureAnimation]
Measure=Plugin
Plugin=ActionTimer
ActionList1=Repeat SlideOut, 16, 39 | Round | Wait 3700 | Repeat SlideIn, 16, 33 | Reset
ActionList2=Repeat SlideOut, 16, 39 | Round
ActionList3=Round | Repeat SlideIn, 16, 33 | Reset
SlideOut=[!SetVariable A (Clamp(#A#+9,0,255))][!SetVariable SO (Clamp(#SO#-(#SO#*0.125*#Wvar#),0,(300*#WVar#)))]#UR#
Round=[!SetVariable SO "0.91"]#UR#
SlideIn=[!SetVariable A (Clamp(#A#-3,0,255))][!SetVariable SO (Clamp(#SO#+(#SO#*0.2*#WVar#),0,(300*#WVar#)))]#UR#
Reset=[!SetVariable A 0][!Update]
ActionList4=Repeat IconAnimationIn, 16, 10
IconAnimationIn=[!SetVariable #AlphaName# (Clamp([#[#AlphaName]]+25,0,255))][!Update]
ActionList5=Repeat IconAnimationOut, 16, 10
IconAnimationOut=[!SetVariable #AlphaName# (Clamp([#[#AlphaName]]-25,0,255))][!Update]
So, I have these variables:
Code: Select all
[Variables]
AlphaName=AlphaMeterPlayPause
AlphaMeterPlayPause=0
AlphaMeterNext=0
AlphaMeterPrevious=0
Code: Select all
[Variables]
AlphaName=AlphaMeterPlayPause
AlphaMeterPlayPause=0
AlphaMeterNext=0
and mouse over [MeterPrevious], Rainmeter will crash. I don't know if this is expected behavior, like when you put [!Update] on a measure and create a loop, so I thought I'd report it.