Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[Variables]
BarBGW=110
BarH=16
VolumeIncrement=5
[MeasurePlayer]
Measure=Plugin
Plugin=Win7AudioPlugin.dll
MinValue=0
MaxValue=100
[MeasureVolume%]
Measure=Calc
Formula=MeasurePlayer
MinValue=0
MaxValue=100
UpdateDivider=1
[MeasureSetVolumeLevel]
Measure=Calc
Formula=#VolumeLevel#
DynamicVariables=1
[MeterBarShape]
Meter=Shape
Shape=Rectangle 1,11,#BarBGW#,#BarH#,7 | Fill Color 47,47,47,255 | StrokeWidth 2 | Stroke Color 255,55,204,255
Shape2=Rectangle 4,14,([MeasureVolume%:%]*104/100),10,5 | Fill Color 51,204,255,255 | StrokeWidth 0
MouseScrollDownAction=[!CommandMeasure MeasurePlayer "ChangeVolume -#VolumeIncrement#"][!Update]
MouseScrollUpAction=[!CommandMeasure MeasurePlayer "ChangeVolume +#VolumeIncrement#"][!Update]
DynamicVariables=1
[PercentageBG]
Meter=Shape
Shape=Rectangle 120,7,38,24,11 | Fill Color 47,47,47,255 | StrokeWidth 2 | Stroke Color 255,204,55,255
[VolumePercentage]
Meter=String
X=139
Y=3
FontSize=11
FontWeight=600
FontFace=Comic Sans MS
FontColor=255,255,255,255
StringAlign=Center
Padding=5,5,5,5
AntiAlias=1
DynamicVariables=1
Text=[MeasureVolume%]
Language: English (1033)
Build time: 2021-11-17 7:14:43
Windows 10 Pro 2009 64-bit (build 19043) - English (1033)
Sorry for my bad English