No, it's not. The problem is that you didn't add the extension to the Image variable. Add it: Image=#@#Images\Test1.png.
I hope after this it'll work.
No, it's not. The problem is that you didn't add the extension to the Image variable. Add it: Image=#@#Images\Test1.png.
.......................................................................................
It's really good looking, although very big and I am not sure how to put my code from the original notepad I've made on this one notepad2 to make it look exactly like the original notepad but with the bright light effect on around it.
Okay, I think I am THIS close to solve this, but my brain is shutting off...I have a dilemma right now. What to put from the Notepad2's code - the one you provided me with earlier - to the original notepad, my notepad.
Code: Select all
[Rainmeter]
Update=-1
AccurateText=1
[Variables]
GlowColor=220,220,220
Thickness=15
Image=#@#Images\Test1.png
W=10
H=10
; Thickness - up to 15
[MeasureWidth]
Measure=Plugin
Plugin=ImageSize
ImageName=#Image#
Dimension=Width
[MeasureHeight]
Measure=Plugin
Plugin=ImageSize
ImageName=#Image#
Dimension=Height
[MeterBackground]
Meter=Shape
X=1
Y=1
Shape=Rectangle 0,0,([MeasureWidth]+30),([MeasureHeight]+30) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(15/(Clamp(#Thickness#,0.000001,15))))
Shape2=Rectangle 1,1,([MeasureWidth]+28),([MeasureHeight]+28) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(14/(Clamp(#Thickness#,0.000001,15))))
Shape3=Rectangle 2,2,([MeasureWidth]+26),([MeasureHeight]+26) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(13/(Clamp(#Thickness#,0.000001,15))))
Shape4=Rectangle 3,3,([MeasureWidth]+24),([MeasureHeight]+24) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(12/(Clamp(#Thickness#,0.000001,15))))
Shape5=Rectangle 4,4,([MeasureWidth]+22),([MeasureHeight]+22) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(11/(Clamp(#Thickness#,0.000001,15))))
Shape6=Rectangle 5,5,([MeasureWidth]+20),([MeasureHeight]+20) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(10/(Clamp(#Thickness#,0.000001,15))))
Shape7=Rectangle 6,6,([MeasureWidth]+18),([MeasureHeight]+18) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(9/(Clamp(#Thickness#,0.000001,15))))
Shape8=Rectangle 7,7,([MeasureWidth]+16),([MeasureHeight]+16) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(8/(Clamp(#Thickness#,0.000001,15))))
Shape9=Rectangle 8,8,([MeasureWidth]+14),([MeasureHeight]+14) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(7/(Clamp(#Thickness#,0.000001,15))))
Shape10=Rectangle 9,9,([MeasureWidth]+12),([MeasureHeight]+12) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(6/(Clamp(#Thickness#,0.000001,15))))
Shape11=Rectangle 10,10,([MeasureWidth]+10),([MeasureHeight]+10) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(5/(Clamp(#Thickness#,0.000001,15))))
Shape12=Rectangle 11,11,([MeasureWidth]+8),([MeasureHeight]+8) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(4/(Clamp(#Thickness#,0.000001,15))))
Shape13=Rectangle 12,12,([MeasureWidth]+6),([MeasureHeight]+6) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(3/(Clamp(#Thickness#,0.000001,15))))
Shape14=Rectangle 13,13,([MeasureWidth]+4),([MeasureHeight]+4) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(2/(Clamp(#Thickness#,0.000001,15))))
Shape15=Rectangle 14,14,([MeasureWidth]+2),([MeasureHeight]+2) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(1/(Clamp(#Thickness#,0.000001,15))))
Shape16=Rectangle 15,15,[MeasureWidth],[MeasureHeight] | Fill Color 0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(0/(Clamp(#Thickness#,0.000001,15))))
DynamicVariables=1
[MeterImage]
Meter=Image
ImageName=#Image#
X=15r
Y=15r
;W=250
;H=250
;PreserveAspectRatio=1
Code: Select all
[Rainmeter]
Update=1000
AccurateText=1
DynamicWindowSize=1
============================
[Metadata]
Author=Me
Information=Opens Notepad
Version=1.0
============================
[Meter]
Meter=Image
ImageName=#@#Images\Test1.png
LeftMouseUpAction=["notepad"]
X=1
Y=1
W=130
H=30
AntiAlias=1
ToolTipText=Left click opens Notepad.
============================
[MeterString]
Meter=String
FontFace=Alex Brush
FontColor=255,255,255,255
StringEffect=Border
FontEffectColor=0,0,0,0
FontSize=15
AntiAlias=1
Y=5
X=32
Text=Notepad
============================
[MeterContainer]
Meter=Shape
Shape=Rectangle 10,10,8,8,8
X=2
Y=2
============================
Because in your code the size of the [Meter] meter is well known (being set through W and H options) and in fact the size of the glow must follow the size of the shown image, not the size of the original image file, we don1t need the ImageSize plugin measures ([MeasureWidth] and [MeasureHeight]). So we can get rid of them.Ao Nuu Shin wrote: ↑January 24th, 2019, 9:38 pm What to put from the Notepad2's code - the one you provided me with earlier - to the original notepad, my notepad.
Code: Select all
[Variables]
GlowColor=220,220,220
Thickness=15
Code: Select all
[MeterBackground]
Meter=Shape
X=1
Y=1
Shape=Rectangle 0,0,([Meter:W]+30),([Meter:H]+30) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(15/(Clamp(#Thickness#,0.000001,15))))
Shape2=Rectangle 1,1,([Meter:W]+28),([Meter:H]+28) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(14/(Clamp(#Thickness#,0.000001,15))))
Shape3=Rectangle 2,2,([Meter:W]+26),([Meter:H]+26) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(13/(Clamp(#Thickness#,0.000001,15))))
Shape4=Rectangle 3,3,([Meter:W]+24),([Meter:H]+24) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(12/(Clamp(#Thickness#,0.000001,15))))
Shape5=Rectangle 4,4,([Meter:W]+22),([Meter:H]+22) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(11/(Clamp(#Thickness#,0.000001,15))))
Shape6=Rectangle 5,5,([Meter:W]+20),([Meter:H]+20) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(10/(Clamp(#Thickness#,0.000001,15))))
Shape7=Rectangle 6,6,([Meter:W]+18),([Meter:H]+18) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(9/(Clamp(#Thickness#,0.000001,15))))
Shape8=Rectangle 7,7,([Meter:W]+16),([Meter:H]+16) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(8/(Clamp(#Thickness#,0.000001,15))))
Shape9=Rectangle 8,8,([Meter:W]+14),([Meter:H]+14) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(7/(Clamp(#Thickness#,0.000001,15))))
Shape10=Rectangle 9,9,([Meter:W]+12),([Meter:H]+12) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(6/(Clamp(#Thickness#,0.000001,15))))
Shape11=Rectangle 10,10,([Meter:W]+10),([Meter:H]+10) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(5/(Clamp(#Thickness#,0.000001,15))))
Shape12=Rectangle 11,11,([Meter:W]+8),([Meter:H]+8) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(4/(Clamp(#Thickness#,0.000001,15))))
Shape13=Rectangle 12,12,([Meter:W]+6),([Meter:H]+6) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(3/(Clamp(#Thickness#,0.000001,15))))
Shape14=Rectangle 13,13,([Meter:W]+4),([Meter:H]+4) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(2/(Clamp(#Thickness#,0.000001,15))))
Shape15=Rectangle 14,14,([Meter:W]+2),([Meter:H]+2) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(1/(Clamp(#Thickness#,0.000001,15))))
Shape16=Rectangle 15,15,[Meter:W],[Meter:H] | Fill Color 0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(0/(Clamp(#Thickness#,0.000001,15))))
DynamicVariables=1
Code: Select all
[Meter]
...
X=15r
Y=15r
[MeterString]
...
X=30r
Y=4r
[MeterContainer]
...
X=-28r
Y=-2r
Alright!!!! Thank you so much for helping me and explaining to me! I will try to do that right now and let you know!balala wrote: ↑January 24th, 2019, 10:03 pm Because in your code the size of the [Meter] meter is well known (being set through W and H options) and in fact the size of the glow must follow the size of the shown image, not the size of the original image file, we don1t need the ImageSize plugin measures ([MeasureWidth] and [MeasureHeight]). So we can get rid of them.
Add a [Variables] section, with the two needed variables (GlowColor and Thickness):Add the [MeterBackground] meter, before (it's very important to be before) the [Meter] meter:Code: Select all
[Variables] GlowColor=220,220,220 Thickness=15
See that I replaced the references of [MeasureWidth] and [MeasureHeight] measures with [Meter:W] and [Meter:H], which represent now the needed size of the Shape meter.Code: Select all
[MeterBackground] Meter=Shape X=1 Y=1 Shape=Rectangle 0,0,([Meter:W]+30),([Meter:H]+30) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(15/(Clamp(#Thickness#,0.000001,15)))) Shape2=Rectangle 1,1,([Meter:W]+28),([Meter:H]+28) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(14/(Clamp(#Thickness#,0.000001,15)))) Shape3=Rectangle 2,2,([Meter:W]+26),([Meter:H]+26) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(13/(Clamp(#Thickness#,0.000001,15)))) Shape4=Rectangle 3,3,([Meter:W]+24),([Meter:H]+24) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(12/(Clamp(#Thickness#,0.000001,15)))) Shape5=Rectangle 4,4,([Meter:W]+22),([Meter:H]+22) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(11/(Clamp(#Thickness#,0.000001,15)))) Shape6=Rectangle 5,5,([Meter:W]+20),([Meter:H]+20) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(10/(Clamp(#Thickness#,0.000001,15)))) Shape7=Rectangle 6,6,([Meter:W]+18),([Meter:H]+18) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(9/(Clamp(#Thickness#,0.000001,15)))) Shape8=Rectangle 7,7,([Meter:W]+16),([Meter:H]+16) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(8/(Clamp(#Thickness#,0.000001,15)))) Shape9=Rectangle 8,8,([Meter:W]+14),([Meter:H]+14) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(7/(Clamp(#Thickness#,0.000001,15)))) Shape10=Rectangle 9,9,([Meter:W]+12),([Meter:H]+12) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(6/(Clamp(#Thickness#,0.000001,15)))) Shape11=Rectangle 10,10,([Meter:W]+10),([Meter:H]+10) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(5/(Clamp(#Thickness#,0.000001,15)))) Shape12=Rectangle 11,11,([Meter:W]+8),([Meter:H]+8) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(4/(Clamp(#Thickness#,0.000001,15)))) Shape13=Rectangle 12,12,([Meter:W]+6),([Meter:H]+6) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(3/(Clamp(#Thickness#,0.000001,15)))) Shape14=Rectangle 13,13,([Meter:W]+4),([Meter:H]+4) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(2/(Clamp(#Thickness#,0.000001,15)))) Shape15=Rectangle 14,14,([Meter:W]+2),([Meter:H]+2) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(1/(Clamp(#Thickness#,0.000001,15)))) Shape16=Rectangle 15,15,[Meter:W],[Meter:H] | Fill Color 0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(0/(Clamp(#Thickness#,0.000001,15)))) DynamicVariables=1
Finally modify the positioning options of the upcoming meters, as it follows:That's all, I hope. Please try to modify your code and let me know if you have succeeded.Code: Select all
[Meter] ... X=15r Y=15r [MeterString] ... X=30r Y=4r [MeterContainer] ... X=-28r Y=-2r
I did it. I've finished it, finally!!!! I made it! haha! Thank you so much, Balala! You're awesome!!!balala wrote: ↑January 24th, 2019, 10:03 pm Because in your code the size of the [Meter] meter is well known (being set through W and H options) and in fact the size of the glow must follow the size of the shown image, not the size of the original image file, we don1t need the ImageSize plugin measures ([MeasureWidth] and [MeasureHeight]). So we can get rid of them.
Add a [Variables] section, with the two needed variables (GlowColor and Thickness):Add the [MeterBackground] meter, before (it's very important to be before) the [Meter] meter:Code: Select all
[Variables] GlowColor=220,220,220 Thickness=15
See that I replaced the references of [MeasureWidth] and [MeasureHeight] measures with [Meter:W] and [Meter:H], which represent now the needed size of the Shape meter.Code: Select all
[MeterBackground] Meter=Shape X=1 Y=1 Shape=Rectangle 0,0,([Meter:W]+30),([Meter:H]+30) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(15/(Clamp(#Thickness#,0.000001,15)))) Shape2=Rectangle 1,1,([Meter:W]+28),([Meter:H]+28) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(14/(Clamp(#Thickness#,0.000001,15)))) Shape3=Rectangle 2,2,([Meter:W]+26),([Meter:H]+26) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(13/(Clamp(#Thickness#,0.000001,15)))) Shape4=Rectangle 3,3,([Meter:W]+24),([Meter:H]+24) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(12/(Clamp(#Thickness#,0.000001,15)))) Shape5=Rectangle 4,4,([Meter:W]+22),([Meter:H]+22) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(11/(Clamp(#Thickness#,0.000001,15)))) Shape6=Rectangle 5,5,([Meter:W]+20),([Meter:H]+20) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(10/(Clamp(#Thickness#,0.000001,15)))) Shape7=Rectangle 6,6,([Meter:W]+18),([Meter:H]+18) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(9/(Clamp(#Thickness#,0.000001,15)))) Shape8=Rectangle 7,7,([Meter:W]+16),([Meter:H]+16) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(8/(Clamp(#Thickness#,0.000001,15)))) Shape9=Rectangle 8,8,([Meter:W]+14),([Meter:H]+14) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(7/(Clamp(#Thickness#,0.000001,15)))) Shape10=Rectangle 9,9,([Meter:W]+12),([Meter:H]+12) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(6/(Clamp(#Thickness#,0.000001,15)))) Shape11=Rectangle 10,10,([Meter:W]+10),([Meter:H]+10) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(5/(Clamp(#Thickness#,0.000001,15)))) Shape12=Rectangle 11,11,([Meter:W]+8),([Meter:H]+8) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(4/(Clamp(#Thickness#,0.000001,15)))) Shape13=Rectangle 12,12,([Meter:W]+6),([Meter:H]+6) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(3/(Clamp(#Thickness#,0.000001,15)))) Shape14=Rectangle 13,13,([Meter:W]+4),([Meter:H]+4) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(2/(Clamp(#Thickness#,0.000001,15)))) Shape15=Rectangle 14,14,([Meter:W]+2),([Meter:H]+2) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(1/(Clamp(#Thickness#,0.000001,15)))) Shape16=Rectangle 15,15,[Meter:W],[Meter:H] | Fill Color 0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(0/(Clamp(#Thickness#,0.000001,15)))) DynamicVariables=1
Finally modify the positioning options of the upcoming meters, as it follows:That's all, I hope. Please try to modify your code and let me know if you have succeeded.Code: Select all
[Meter] ... X=15r Y=15r [MeterString] ... X=30r Y=4r [MeterContainer] ... X=-28r Y=-2r
Code: Select all
[Rainmeter]
Update=1000
AccurateText=1
DynamicWindowSize=1
============================
[Metadata]
Author=Agios
Information=Opens Notepad
Version=1.2
============================
[Variables]
GlowColor=220,220,220
Thickness=15
============================
[MeterBackground]
Meter=Shape
X=1
Y=1
Shape=Rectangle 0,0,([Meter:W]+30),([Meter:H]+30) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(15/(Clamp(#Thickness#,0.000001,15))))
Shape2=Rectangle 1,1,([Meter:W]+28),([Meter:H]+28) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(14/(Clamp(#Thickness#,0.000001,15))))
Shape3=Rectangle 2,2,([Meter:W]+26),([Meter:H]+26) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(13/(Clamp(#Thickness#,0.000001,15))))
Shape4=Rectangle 3,3,([Meter:W]+24),([Meter:H]+24) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(12/(Clamp(#Thickness#,0.000001,15))))
Shape5=Rectangle 4,4,([Meter:W]+22),([Meter:H]+22) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(11/(Clamp(#Thickness#,0.000001,15))))
Shape6=Rectangle 5,5,([Meter:W]+20),([Meter:H]+20) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(10/(Clamp(#Thickness#,0.000001,15))))
Shape7=Rectangle 6,6,([Meter:W]+18),([Meter:H]+18) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(9/(Clamp(#Thickness#,0.000001,15))))
Shape8=Rectangle 7,7,([Meter:W]+16),([Meter:H]+16) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(8/(Clamp(#Thickness#,0.000001,15))))
Shape9=Rectangle 8,8,([Meter:W]+14),([Meter:H]+14) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(7/(Clamp(#Thickness#,0.000001,15))))
Shape10=Rectangle 9,9,([Meter:W]+12),([Meter:H]+12) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(6/(Clamp(#Thickness#,0.000001,15))))
Shape11=Rectangle 10,10,([Meter:W]+10),([Meter:H]+10) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(5/(Clamp(#Thickness#,0.000001,15))))
Shape12=Rectangle 11,11,([Meter:W]+8),([Meter:H]+8) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(4/(Clamp(#Thickness#,0.000001,15))))
Shape13=Rectangle 12,12,([Meter:W]+6),([Meter:H]+6) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(3/(Clamp(#Thickness#,0.000001,15))))
Shape14=Rectangle 13,13,([Meter:W]+4),([Meter:H]+4) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(2/(Clamp(#Thickness#,0.000001,15))))
Shape15=Rectangle 14,14,([Meter:W]+2),([Meter:H]+2) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(1/(Clamp(#Thickness#,0.000001,15))))
Shape16=Rectangle 15,15,[Meter:W],[Meter:H] | Fill Color 0,0,0 | StrokeWidth 1 | StrokeColor #GlowColor#,(255-255*(0/(Clamp(#Thickness#,0.000001,15))))
DynamicVariables=1
=============================
[Meter]
Meter=Image
ImageName=#@#Images\Test1.png
LeftMouseUpAction=["notepad"]
X=15r
Y=15r
W=130
H=30
AntiAlias=1
ToolTipText=Left click opens Notepad.
============================
[MeterString]
Meter=String
FontFace=Alex Brush
FontColor=255,255,255,255
StringEffect=Border
FontEffectColor=0,0,0,0
FontSize=15
AntiAlias=1
Y=3r
X=32r
Text=Notepad
============================
[MeterContainer]
Meter=Shape
Shape=Rectangle 10,10,8,8,8
X=-28r
Y=-2r
============================
I don't know what to say, because I don't have that extra border. With Thickness set to 12, this is what I get: Could you post a screenshot, please, with that new border?Ao Nuu Shin wrote: ↑January 24th, 2019, 11:27 pm P.S. I tried to decrease the number from 15 to 12 or 13 but there's a new border that comes outside to make it look weird, but I guess for now I will leave it as it is.
There is. Definitely. But first, how would you like to make that animation, continuously or just from time to time? Because in this second case an ActionTimer plugin measure could be used, which would make the skin to run much more easier. Otherwise, for continuose animation, the Update have to be set to a small enough value, which would increase the CPU usage.Ao Nuu Shin wrote: ↑January 24th, 2019, 11:27 pm Is there ANY chance to make it animated with colors? Like, you know, just sitting there and having colors changing in a random order.
Of course, here is the picture with a 12 thickness instead of 15. This is what I get :balala wrote: ↑January 25th, 2019, 12:35 pm I don't know what to say, because I don't have that extra border. With Thickness set to 12, this is what I get:
Notepad.png
Could you post a screenshot, please, with that new border?
There is. Definitely. But first, how would you like to make that animation, continuously or just from time to time? Because in this second case an ActionTimer plugin measure could be used, which would make the skin to run much more easier. Otherwise, for continuose animation, the Update have to be set to a small enough value, which would increase the CPU usage.
So, long story short, how the animation should have to run?
With this code? Weird, because using your code, with thickness set to 12, this is what I get:Ao Nuu Shin wrote: ↑January 25th, 2019, 7:36 pm Of course, here is the picture with a 12 thickness instead of 15. This is what I get :
Ok, then we'll use ActionTimer plugin measure to animate the rainbow. Here is a first attempt. If it's not good enough, we'll improve it. The animation is started when you're hovering the mouse over the skin. Initially a random color is generated, then, when you're hovering the mouse over, it changes randomly, for 1 second:Ao Nuu Shin wrote: ↑January 25th, 2019, 7:36 pm Also, EDIT : Whichever is easier and NOT CPU taxing. Although new CPUs might be stronger nowadays, my gf has an older CPU, just like mine or close to mine in model, I have i5 4570 3.2GHz. Quad Core.
I want it like to have colors automated changing on its own, like, how should I explain it, like the lights in a Christmas tree or after the rain, how the Rainbow looks like between the clouds, changing all these colors so brightly in a rhythm. I think we should try the easy way and see if it is what I am planning to do. Don't get me wrong, I like the bright light neon, but I would also like to have these colors for more "expansion" to my rmskin.
Code: Select all
[Rainmeter]
Update=-1
AccurateText=1
DynamicWindowSize=1
[Metadata]
Author=Agios
Information=Opens Notepad
Version=1.2
[Variables]
GlowColor=220,220,220
Thickness=12
Start=0
[MeasureRainbow]
Measure=Plugin
Plugin=ActionTimer
Group=Sliders
ActionList1=Repeat Go,100,10
Go=[!UpdateMeasureGroup "Offset"][!UpdateMeter "MeterBackground"][!Redraw]
DynamicVariables=1
[MeasureStartRed]
Measure=Calc
Formula=Random
LowBound=0
HighBound=255
UpdateDivider=-1
[MeasureStartGreen]
Measure=Calc
Formula=Random
LowBound=0
HighBound=255
UpdateDivider=-1
[MeasureStartBlue]
Measure=Calc
Formula=Random
LowBound=0
HighBound=255
UpdateDivider=-1
[MeasureOffsetRed]
Measure=Calc
Formula=Random
LowBound=-2
HighBound=2
UpdateRandom=1
UpdateDivider=-1
Group=Offset
[MeasureOffsetGreen]
Measure=Calc
Formula=Random
LowBound=-2
HighBound=2
UpdateRandom=1
UpdateDivider=-1
Group=Offset
[MeasureOffsetBlue]
Measure=Calc
Formula=Random
LowBound=-2
HighBound=2
UpdateRandom=1
UpdateDivider=-1
Group=Offset
[MeterBackground]
Meter=Shape
X=1
Y=1
Shape=Rectangle 0,0,([Meter:W]+30),([Meter:H]+30) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(15/(Clamp(#Thickness#,0.000001,15))))
Shape2=Rectangle 1,1,([Meter:W]+28),([Meter:H]+28) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(14/(Clamp(#Thickness#,0.000001,15))))
Shape3=Rectangle 2,2,([Meter:W]+26),([Meter:H]+26) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(13/(Clamp(#Thickness#,0.000001,15))))
Shape4=Rectangle 3,3,([Meter:W]+24),([Meter:H]+24) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(12/(Clamp(#Thickness#,0.000001,15))))
Shape5=Rectangle 4,4,([Meter:W]+22),([Meter:H]+22) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(11/(Clamp(#Thickness#,0.000001,15))))
Shape6=Rectangle 5,5,([Meter:W]+20),([Meter:H]+20) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(10/(Clamp(#Thickness#,0.000001,15))))
Shape7=Rectangle 6,6,([Meter:W]+18),([Meter:H]+18) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(9/(Clamp(#Thickness#,0.000001,15))))
Shape8=Rectangle 7,7,([Meter:W]+16),([Meter:H]+16) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(8/(Clamp(#Thickness#,0.000001,15))))
Shape9=Rectangle 8,8,([Meter:W]+14),([Meter:H]+14) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(7/(Clamp(#Thickness#,0.000001,15))))
Shape10=Rectangle 9,9,([Meter:W]+12),([Meter:H]+12) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(6/(Clamp(#Thickness#,0.000001,15))))
Shape11=Rectangle 10,10,([Meter:W]+10),([Meter:H]+10) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(5/(Clamp(#Thickness#,0.000001,15))))
Shape12=Rectangle 11,11,([Meter:W]+8),([Meter:H]+8) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(4/(Clamp(#Thickness#,0.000001,15))))
Shape13=Rectangle 12,12,([Meter:W]+6),([Meter:H]+6) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(3/(Clamp(#Thickness#,0.000001,15))))
Shape14=Rectangle 13,13,([Meter:W]+4),([Meter:H]+4) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(2/(Clamp(#Thickness#,0.000001,15))))
Shape15=Rectangle 14,14,([Meter:W]+2),([Meter:H]+2) | Fill Color 0,0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(1/(Clamp(#Thickness#,0.000001,15))))
Shape16=Rectangle 15,15,[Meter:W],[Meter:H] | Fill Color 0,0,0 | StrokeWidth 1 | StrokeColor (Clamp(([MeasureStartRed]+50*[MeasureOffsetRed]),0,255)),(Clamp(([MeasureStartGreen]+50*[MeasureOffsetGreen]),0,255)),(Clamp(([MeasureStartBlue]+50*[MeasureOffsetBlue]),0,255)),(255-255*(0/(Clamp(#Thickness#,0.000001,15))))
DynamicVariables=1
[Meter]
Meter=Image
ImageName=#@#test1.png
MouseOverAction=[!CommandMeasure "MeasureRainbow" "Stop 1"][!CommandMeasure "MeasureRainbow" "Execute 1"]
LeftMouseUpAction=["notepad"]
X=15r
Y=15r
W=130
H=30
AntiAlias=1
ToolTipText=Left click opens Notepad.
[MeterString]
Meter=String
FontFace=Alex Brush
FontColor=255,255,255,255
StringEffect=Border
FontEffectColor=0,0,0,0
FontSize=15
AntiAlias=1
Y=3r
X=32r
Text=Notepad
[MeterContainer]
Meter=Shape
Shape=Rectangle 10,10,8,8,8
X=-28r
Y=-2r