Hi, okay balala, below are the codes.balala wrote: ↑May 16th, 2020, 5:59 pm In fact this makes sense and might be true, however it's not what I posted. There really are two Image meters, [Chrome] and [ChromeName], both got by cropping two disting parts of the same image. But the positions of these meters are set to X=(-#X1#) for the first (the left) one (in this case [Chrome]) and to X=0R for the second (the right) one ([ChromeName]). This means there is no space between them and before I posted the code, gave it a try. Perfectly worked (works). So either there something has been modified, or I have no idea.
So Jason, please post the incriminated code exactly as you have it now on the skin which gives the issue.
Code: Select all
[Rainmeter]
Update=1000
BackgroundMode=2
SolidColor=0,0,0,1
SkinWidth=200
[Metadata]
Name=unFold
Author=DevilRev
[Variables]
X1=-150
U=[!UpdateMeasureGroup Sliders][!UpdateMeterGroup Items][!Redraw]
[IconStyle]
Group=Items
SolidColor=0,0,0,1
ImageName=#@#Buttons\Transparent\Chrome.png
H=50
DynamicVariables=1
MouseOverAction=[!CommandMeasure MeasureSlide "Stop 1"][!CommandMeasure MeasureSlide "Execute 2"]
MouseLeaveAction=[!CommandMeasure MeasureSlide "Stop 2"][!CommandMeasure MeasureSlide "Execute 1"]
LeftMouseDownAction=[!SetOptionGroup Items ImageAlpha "150"][!UpdateMeterGroup "Items"][!Redraw]
LeftMouseUpAction=[!SetOptionGroup Items ImageAlpha "255"]["Chrome.exe"][!UpdateMeterGroup "Items"][!Redraw]
RightMouseDownAction=[!Update]
[Chrome]
Meter=Image
MeterStyle=IconStyle
X=(-#X1#)
ImageCrop=600,0,200,200
[ChromeName]
Meter=Image
MeterStyle=IconStyle
X=0R
Y=0r
ImageCrop=0,0,600,200
[MeasureSlide]
Measure=Plugin
Plugin=ActionTimer
Group=Sliders
ActionList1=Repeat Left,5,30
Left=[!SetVariable X1 "(Clamp(#X1#-5,-150,0))"]#U#
ActionList2=Repeat Right,5,30
Right=[!SetVariable X1 "(Clamp(#X1#+5,-150,0))"]#U#
DynamicVariables=1