Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[Image1]
Meter=Image
ImageName=#@#First.jpg
X=0
Y=0
W=120
H=90
PreserveAspectRatio=1
[Image2]
Meter=Image
ImageName=#@#Second.jpg
X=0
Y=0
W=120
H=90
PreserveAspectRatio=1
I'd like to add a mask to the [Image2] meter. To do that, I added this meter to the skin:
Code: Select all
[Add]
Meter=STRING
X=0r
Y=100
FontColor=220,220,220
SolidColor=0,0,0,150
FontSize=12
FontFace=Segoe UI
StringStyle=BOLD
StringAlign=LEFT
AntiAlias=1
Text=Add
LeftMouseUpAction=[!SetOption Image2 MaskImageName "#@#Mask.png"][!UpdateMeter Image2][!Redraw]
I'd also like to remove the mask. I thought it'll be simple, so I added this meter:
Code: Select all
[Remove]
Meter=STRING
X=0r
Y=2R
FontColor=220,220,220
SolidColor=0,0,0,150
FontSize=12
FontFace=Segoe UI
StringStyle=BOLD
StringAlign=LEFT
AntiAlias=1
Text=Remove
LeftMouseUpAction=[!SetOption Image2 MaskImageName ""][!UpdateMeter Image2][!Redraw]
When I click to the Add string, I'm getting this:
(that's ok so far).
But when I click to the Remove string, nothings happening, the images remain as they was.
I tried more possibilities to remove the mask (on the [Remove] meter), eg:
LeftMouseUpAction=[!SetOption Image2 MaskImageName ""][!Update][!Redraw]
but had no success at all.
So, my question is if there's any possibility to remove the once applied mask?
Thanks in advance.