Alright, I've run into a wall. I can't figure out why my bangs on this specific chunk won't work. Any help would be much appreciated. The MouseOver and MouseLeave actions work just fine, but the Scroll actions don't. The first snippet is just the sections that I think are relevant. The second snippet is the Entire chunk of code that I'm working with, in case there's something hidden that I'm not noticing. Feel free to ignore it
Code: Select all
[Rainmeter]
Update=1000
[Variables]
;Sizing;
BarWidthV=3
BarWidthP=4
BarLength=500
FontSize=12
ButtonSize=30
ButtonSize2=30
ButtonSize3=(#ButtonSize2#-10)
ButtonPadding=5
ButtonPadding2=25
VertPadding=5
HorzPadding=5
;Color;
BaseBG=40,80,40,1
ButtonBase=40,80,40,20
ButtonBase2=10,50,10,200
ButtonBase3=40,80,40,140
StrokeColor=10,50,10,255
TextBG=40,80,40,0
BarBase=10,50,10,160
;BarBase=40,80,40,140
FontColor=140,230,200
FontWeight=550
BarOverV=10,50,10,160
BarOverP=10,50,10,160
;Spacing;
ButtonY=(#BarWidthV#+#ButtonPadding#+#VertPadding#)
ButtonY2=(#ButtonY#+#ButtonSize#+#ButtonPadding#+#BarWidthP#+10)
ButtonY3=(#ButtonY2#+((#ButtonSize2#/2)-(#ButtonSize3#/2)))
ButtonX=(#BarLength#-(#ButtonSize#+#ButtonPadding#))
ButtonX2=((#BarLength#/2)-(#ButtonSize2#/2))
BarYP=(#ButtonY#+#ButtonSize#+#ButtonPadding#)
TextY=(#ButtonY#+(#ButtonSize#/2))
TextX=(#BarLength#/2)
;Miscellaneous;
Play=1
Pause=0
;=================================================================================;
[MeasurePlayer]
Measure=NowPlaying
PlayerName=CAD
[MeasureArtist]
Measure=NowPlaying
PlayerName=[MeasurePlayer]
PlayerType=Artist
[MeasureTitle]
Measure=NowPlaying
PlayerName=[MeasurePlayer]
PlayerType=Title
[MeasureAlbum]
Measure=NowPlaying
PlayerName=[MeasurePlayer]
PlayerType=Album
[MeasureAlbumArt]
Measure=NowPlaying
PlayerName=[MeasurePlayer]
PlayerType=Cover
[MeasureProgress]
Measure=NowPlaying
PlayerName=[MeasurePlayer]
PlayerType=Progress
[MeasurePosition]
Measure=NowPlaying
PlayerName=[MeasurePlayer]
PlayerType=Position
[MeasureDuration]
Measure=NowPlaying
PlayerName=[MeasurePlayer]
PlayerType=Duration
[MeasureVolume]
Measure=NowPlaying
PlayerName=[MeasurePlayer]
PlayerType=Volume
[MeasureState]
Measure=NowPlaying
PlayerName=[MeasurePlayer]
PlayerType=State
IfCondition=MeasureState = 1
IfCondition2=(MeasureState = 0) || (MeasureState = 2)
IfTrueAction=[!SetVariable Play 1][!SetVariable Pause 0][!update]
IfTrueAction2=[!SetVariable Play 0][!SetVariable Pause 1][!update]
;=================================================================================;
[BackGround]
Meter=Image
SolidColor=#BaseBG#
H=((#VertPadding#*2)+#BarWidthV#+#BarWidthP#+(#ButtonPadding#*3)+#ButtonSize#+#ButtonSize2#+10)
W=((#HorzPadding#*2)+#BarLength#)
Group=GroupOne
MouseOverAction=[!ShowMeterGroup Volume][!Update]
MouseLeaveAction=[!HideMeterGroup Volume][!Update]
MouseScrollUpAction=[!CommandMeasure MeasurePlayer SetVolume +5][!Update]
MouseScrollDownAction=[!CommandMeasure MeasurePlayer SetVolume -5][!Update]
[Volume]
Meter=Bar
MeasureName=MeasureVolume
BarOrientation=Horizontal
BarColor=#BarOverV#
Flip=1
Y=#VertPadding#
X=#HorzPadding#
H=#BarWidthV#
W=#BarLength#
Group=Volume
Hidden=1
[VolumeBG]
;Meter=Image
SolidColor=#BarBase#
X=#HorzPadding#
Y=#VertPadding#
H=(#BarWidthP#/2)
W=(#BarLength#-10)
Group=Volume
Hidden=1
[TrackInfo]
Meter=String
MeasureName=MeasureArtist
MeasureName2=MeasureTitle
X=#TextX#
Y=#TextY#
SolidColor=#TextBG#
StringEffect=Shadow
FontEffectColor=0,0,0
FontColor=#FontColor#
FontSize=#FontSize#
FontWeight=#FontWeight#
StringAlign=CenterCenter
Group=GroupOne
Text="%1 | %2"
[Musicbee]
Meter=Image
ImageName=#@#Images\BumbleBee.png
GreyScale=0
X=#ButtonX#
Y=#ButtonY#
H=#ButtonSize#
W=#ButtonSize#
MouseOverAction=[!SetOption Musicbee GreyScale 1][!Update]
MouseLeaveAction=[!Setoption Musicbee Greyscale 0][!Update]
LeftMouseUpAction=[!ToggleMeterGroup GroupOne][!Update]
[ProgressBar]
Meter=Bar
MeasureName=MeasureProgress
BarOrientation=Horizontal
BarColor=#BarOverP#
X=#HorzPadding#
Y=#BarYP#
H=#BarWidthP#
W=#BarLength#
Group=GroupOne
[ProgressBarBG]
Meter=Image
SolidColor=#BarBase#
X=#HorzPadding#
Y=#BarYP#
H=(#BarWidthP#/2)
W=(#BarLength#-10)
Group=GroupOne
[Play]
Meter=Shape
X=#ButtonX2#
Y=#ButtonY2#
ShapePlay=Combine Shape | Union Shape2
Shape= Path Play | Extend Modifier
Shape2=Rectangle 0,0,#ButtonSize2#,#ButtonSize2# | StrokeWidth 0 | FillColor 0,0,0,1
Play= 0,0 | LineTo 0,#ButtonSize2# | LineTo #ButtonSize2#,(#ButtonSize2#/2) | ClosePath 1
Modifier=StrokeWidth 1 | FillColor #ButtonBase# | Stroke Color #StrokeColor#
Modifier2=StrokeWidth 1 | FillColor #ButtonBase2# | Stroke Color #StrokeColor#
MouseOverAction=[!SetOption Play Shape "Path Play | Extend Modifier2"][!Update]
MouseLeaveAction=[!SetOption Play Shape "Path Play | Extend Modifier"][!Update]
LeftMouseUpAction=[!CommandMeasure MeasurePlayer Play][!update][!Refresh]
DynamicVariables=1
Hidden=#Play#
[Pause]
Meter=Shape
X=#ButtonX2#
Y=#ButtonY2#
ShapePause=Combine Shape | Union Shape2 | Union Shape3
Shape=Rectangle 0,0,(#ButtonSize2#/3),#ButtonSize2# | Extend Modifier
Shape2=Rectangle ((#ButtonSize2#/3)*2),0,(#ButtonSize2#/3),#ButtonSize2# | Extend Modifier
Shape3=Rectangle 0,0,#ButtonSize2#,#ButtonSize2# | StrokeWidth 0 | FillColor 0,0,0,1
Modifier=StrokeWidth 1 | FillColor #ButtonBase# | Stroke Color #StrokeColor#
Modifier2=StrokeWidth 1 | FillColor #ButtonBase2# | Stroke Color #StrokeColor#
MouseOverAction=[!SetOption Pause Shape "Rectangle 0,0,(#ButtonSize2#/3),#ButtonSize2# | Extend Modifier2"][!SetOption Pause Shape2 "Rectangle ((#ButtonSize2#/3)*2),0,(#ButtonSize2#/3),#ButtonSize2# | Extend Modifier2"][!Update]
MouseLeaveAction=[!SetOption Pause Shape "Rectangle 0,0,(#ButtonSize2#/3),#ButtonSize2# | Extend Modifier"][!SetOption Pause Shape2 "Rectangle ((#ButtonSize2#/3)*2),0,(#ButtonSize2#/3),#ButtonSize2# | Extend Modifier"][!Update]
LeftMouseUpAction=[!CommandMeasure MeasurePlayer Pause][!update][!Refresh]
DynamicVariables=1
Hidden=#Pause#
[Next]
Meter=Shape
X=(#ButtonX2#+#ButtonSize2#+#ButtonPadding2#)
Y=#ButtonY3#
ShapeNext=Combine Shape | Union Shape2 | Union Shape3
Shape=Path Next | Extend Modifier
Shape2=Path Next2 | Extend Modifier
Shape3=Rectangle 0,0,(#ButtonSize3#*2),#ButtonSize3# | StrokeWidth 0 | FillColor 0,0,0,1
Next= 0,0 | LineTo 0,#ButtonSize3# | LineTo #ButtonSize3#,(#ButtonSize3#/2) | ClosePath 1
Next2= #ButtonSize3#,0 | LineTo #ButtonSize3#,#ButtonSize3# | LineTo (#ButtonSize3#*2),(#ButtonSize3#/2) | ClosePath 1
Modifier=StrokeWidth 1 | FillColor #ButtonBase# | Stroke Color #StrokeColor#
Modifier2=StrokeWidth 1 | FillColor #ButtonBase2# | Stroke Color #StrokeColor#
MouseOverAction=[!SetOption Next Shape "Path Next | Extend Modifier2"][!SetOption Next Shape2 "Path Next2 | Extend Modifier2"][!Update]
MouseLeaveAction=[!SetOption Next Shape "Path Next | Extend Modifier"][!SetOption Next Shape2 "Path Next2 | Extend Modifier"][!Update]
LeftMouseUpAction=[!CommandMeasure MeasurePlayer Next][!update][!Refresh]
[Previous]
Meter=Shape
X=(#ButtonX2#-#ButtonPadding2#)
Y=#ButtonY3#
ShapePrev=Combine Shape | Union Shape2 | Union Shape3
Shape=Path Prev | Extend Modifier
Shape2=Path Prev2 | Extend Modifier
Shape3=Rectangle 0,0,(-(#ButtonSize3#*2)),#ButtonSize3# | StrokeWidth 0 | FillColor 0,0,0,1
Prev= 0,0 | LineTo 0,#ButtonSize3# | LineTo (-#ButtonSize3#),(#ButtonSize3#/2) | ClosePath 1
Prev2= (-#ButtonSize3#),0 | LineTo (-#ButtonSize3#),#ButtonSize3# | LineTo (-(#ButtonSize3#*2)),(#ButtonSize3#/2) | ClosePath 1
Modifier=StrokeWidth 1 | FillColor #ButtonBase# | Stroke Color #StrokeColor#
Modifier2=StrokeWidth 1 | FillColor #ButtonBase2# | Stroke Color #StrokeColor#
MouseOverAction=[!SetOption Previous Shape "Path Prev | Extend Modifier2"][!SetOption Previous Shape2 "Path Prev2 | Extend Modifier2"][!Update]
MouseLeaveAction=[!SetOption Previous Shape "Path Prev | Extend Modifier"][!SetOption Previous Shape2 "Path Prev2 | Extend Modifier"][!Update]
LeftMouseUpAction=[!CommandMeasure MeasurePlayer Previous][!update][!Refresh]