I used to have sliders not only for the volume, but fr brightness. the problem with this brightness plugin is that i dont know how to make it go up or down in 5s. I didnt mind in the past because i made it so i can click where the bar to set it to that value, but i dont know how to here. How can i make it do the function 5 times? Or is there another way? Also if possible how would i have it so i can click some place on the skin and have it set to that angle?
Thanks in advance!
Code: Select all
[Rainmeter]
Update=1
[Metadata]
Author=Ryan
[Variables]
UsedColor=FF8800
[mBrightness]
Measure=Plugin
Plugin=ScreenBrightness.dll
[mBrightness2]
Measure=Calc
Formula=mBrightness
IfCondition=(mBrightness2 = -1)
IfTrueAction=[!SetOption "Text2.Brightness" "Text" "0"][!Update]
IfFalseAction=[!SetOption "Text2.Brightness" "Text" "%1%"][!Update]
[MeterVol]
Meter=Roundline
MeasureName=mBrightness
X=10
Y=0
W=120
H=120
StartAngle=-4.712
RotationAngle=6.283
LineLength=20
LineColor=#UsedColor#
Solid=1
AntiAlias=1
MouseScrollDownAction=[!CommandMeasure "mBrightness" "Lower"][!Update]
MouseScrollUpAction=[!CommandMeasure "mBrightness" "raise"][!Update]
[MeterEllipse]
Meter=Shape
Shape=Ellipse 70,60,16 | Stroke Color 255,255,255,0
[Perc]
Meter=String
MeasureName=mBrightness2
x=70
y=49
StringAlign=Center
FontFace=Century Gothic
FontWeight=500
FontColor=#UsedColor#
Text=%1
FontSize=12
AntiAlias=1
[code]