Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Rainmeter]
- LeftMouseUpAction=[!CommandMeasure "MeasureMedia" PlayPause]
- [Variables]
- ; Size = Width of Icon
- Size=100
- ; Colour = Colour of Text
- Colour=255,255,255
- [MeasureMedia]
- Measure=Plugin
- Plugin=MediaKey
- [Play]
- Meter=Shape
- Shape=Rectangle 0,0,#Size#,#Size# | StrokeWidth 0 | Fill Color 0,0,0,1
- Shape2=Path Triangle | StrokeWidth 0 | Fill Color #Colour#
- Triangle=((#Size#*0.40)+(#Size#*0.45*cos(rad(0)))),((#Size#*0.50)+(#Size#*0.45*sin(rad(0)))) | LineTo ((#Size#*0.40)+(#Size#*0.45*cos(rad(120)))),((#Size#*0.50)+(#Size#*0.45*sin(rad(120)))) | LineTo ((#Size#*0.40)+(#Size#*0.45*cos(rad(240)))),((#Size#*0.50)+(#Size#*0.45*sin(rad(240)))) | ClosePath 1
- [Pause]
- Meter=Shape
- x=R
- Shape=Rectangle 0,0,#Size#,#Size# | StrokeWidth 0 | Fill Color 0,0,0,1
- Shape2=Rectangle (#Size#*0.10),(#Size#*0.10),(#Size#*0.80),(#Size#*0.80) | StrokeWidth 0 | Fill Color #Colour#
- Shape3=Rectangle (#Size#*0.35),(#Size#*0.10),(#Size#*0.30),(#Size#*0.80) | StrokeWidth 0
- Shape4=Combine Shape2 | Exclude Shape3
Advertisement
Add Comment
Please, Sign In to add comment