I think I encountered that behavior too, if I remember correctly. I always forget what's the right way to write it, so I just copy paste that bit from the manual and move on...
![Big Grin :D](./images/smilies/ag.gif)
I think I encountered that behavior too, if I remember correctly. I always forget what's the right way to write it, so I just copy paste that bit from the manual and move on...
Code: Select all
[Rainmeter]
Update=50
DynamicWindowSize=1
AccurateText=1
[Metadata]
Name=ColorRotate
Author=JSMorley
Information=Use Lua to rotate through the "Hue" of the HSB color space. The "saturation" and "brightness" can be set to some desired initial value.
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Version=August 25, 2017
[MeasureMyColor]
Measure=Script
ScriptFile=ColorRotate.lua
; MySaturation and MyBrightness can be 0.0 (none) to 1.0 (full)
MySaturation=0.75
MyBrightness=1.0
DynamicVariables=1
[MeterMyImage]
Meter=Image
Shape=Rectangle 0,0,245,140,20
W=2000
H=2000
SolidColor=[MeasureMyColor]
DynamicVariables=1
[MeterMyString]
Meter=String
X=15R
Y=25
FontSize=1
FontWeight=400
FontColor=[MeasureMyColor]
AntiAlias=1
DynamicVariables=1
Text=Color is: [MeasureMyColor]
There are a number of ways you can do it, but I guess the easiest one would be to use a stroke colored with the said effect and have the fill color either partially or completely transparent for your rectangle. Something like this, instead of your MeterMyImage:DudeGuy11 wrote: ↑February 20th, 2023, 10:50 pm I just found a Rainmeter skin that had exactly the effect I needed but its the wrong shape. Im trying to turn the effect into a hollow square or rectangle, that would act as a thick-ish border for my screen, now its a full square so im trying to figure out how to modify it. Its the skin created by JSMorley.
Code: Select all
[MeterMyThickishBorder]
Meter=Shape
Shape=Rectangle (0+10/2),(0+10/2),(1920-10/2),(1080-10/2) | StrokeWidth 10 | Stroke Color [MeasureMyColor] | Fill Color 0,0,0,0
DynamicVariables=1
Yes it is, indeed.
Code: Select all
[Variables]
Thickness=10
...
...
...
[MeterMyThickishBorder]
Meter=Shape
Shape=Rectangle (0+#Thickness#/2),(0+#Thickness#/2),(1920-#Thickness#/2),(1080-#Thickness#/2) | StrokeWidth #Thickness# | Stroke Color [MeasureMyColor] | Fill Color 0,0,0,0
DynamicVariables=1
Probably. It depends on what you mean by rotating at different points. If it's this skin, I suspect that copy pasting MeasureMyColor under different names and setting various hue and saturation values in each case should do it, assuming you then reference the newly created measures in the Stroke Color parameter of your newly created meters for the rest of the pieces.
Code: Select all
Shape=Rectangle 0, 0, #BarW#, #BarH# | StrokeWidth 0 | Extend Fill1
Shape2=Rectangle 0, 0, #BarW#, ([m1Used:]/[m1Total:]*#BarH#) | StrokeWidth 0 | Extend Fill2
Shape3=Rectangle 14, 0, #BarW#, #BarH# | StrokeWidth 0 | Extend Fill3
Shape4=Rectangle 14, 0, #BarW#, ([m2Used:]/[m2Total:]*#BarH#) | StrokeWidth 0 | Extend Fill4
Shape5=Rectangle 28, 0, #BarW#, #BarH# | StrokeWidth 0 | Extend Fill5
Shape6=Rectangle 28, 0, #BarW#, ([m3Used:]/[m3Total:]*#BarH#) | StrokeWidth 0 | Extend Fill6
Shape7=Rectangle 42, 0, #BarW#, #BarH# | StrokeWidth 0 | Extend Fill7
Shape8=Rectangle 42, 0, #BarW#, ([m4Used:]/[m4Total:]*#BarH#) | StrokeWidth 0 | Extend Fill8
Shape9=Rectangle 56, 0, #BarW#, #BarH# | StrokeWidth 0 | Extend Fill9
Shape10=Rectangle 56, 0, #BarW#, ([m5Used:]/[m5Total:]*#BarH#) | StrokeWidth 0 | Extend Fill10
Not sure if that works the way I wanted though? Or if it's dynamically changeable?Offset Default: 0, 0
Offsets (moves) the shape in the X and / or Y axis some number of positive or negative pixels.
Example: Shape=Rectangle 0,0,100,100 | Offset 10,0
Why wouldn't it work dynamically the way you wanted? As long as you have DynamicVariables=1 on the meter, and you use some changed variable as one of the parameter for the Offset part, it should work...