i am newbie at making skins but i have been using rainmeter for quite a while.
I have been recently modifying a skin made by Aiden drew called rusa jantan . I wanted to make the sidebar slide out of the screen when i moved my cursor over it and slide in when i move my cursor away.
here is a screenshot:
i used the Actiontimer plugin to do it .
But it seems I was able to move only one at a time using two ini files. how can i move both of them at the same time without
going over the shut down button button and just by moving the cursor over the white bar.
the codes for the logout button:
Code: Select all
[Rainmeter]
Update=1000
[Variables]
X1=140
U=[!UpdateMeasureGroup Sliders][!UpdateMeterGroup Items][!Redraw]
[Logout]
Meter=Image
Group=Items
ImageName=logout
X=#X1#
y=(#workareaheight#-50)
DynamicVariables=1
MouseOverAction=[!CommandMeasure MeasureSlide "Stop 1"][!CommandMeasure MeasureSlide "Execute 2"]
MouseLeaveAction=[!CommandMeasure MeasureSlide "Stop 2"][!CommandMeasure MeasureSlide "Execute 1"]
LeftMouseDownAction=!Execute
[Logouttext]
Meter=STRING
Group=Items
Text=SHUTDOWN
FontFace=Lato
FontSize=11
FontColor=fbfbfb
X=(#X1#+18)
Y=(#workareaheight#-43)
AntiAlias=1
DynamicVariables=1
MouseOverAction=[!CommandMeasure MeasureSlide "Stop 1"][!CommandMeasure MeasureSlide "Execute 2"]
MouseLeaveAction=[!CommandMeasure MeasureSlide "Stop 2"][!CommandMeasure MeasureSlide "Execute 1"]
[MeasureSlide]
Measure=Plugin
Plugin=ActionTimer
Group=Sliders
ActionList1=Repeat Left,5,100
Left=[!SetVariable X1 "(Clamp(#X1#-3,0,213))"]#U#
ActionList2=Repeat Right,5,100
Right=[!SetVariable X1 "(Clamp(#X1#+4,0,213))"]#U#
DynamicVariables=1
Code: Select all
[Rainmeter]
Update=1000
[Variables]
X1=-195
U=[!UpdateMeasureGroup Sliders][!UpdateMeterGroup Items][!Redraw]
[Bar]
Meter=Bar
Group=Items
H=1366
W=250
X=#X1#
SolidColor=241,241,241,90
DynamicVariables=1
MouseOverAction=[!CommandMeasure MeasureSlide "Stop 1"][!CommandMeasure MeasureSlide "Execute 2"]
MouseLeaveAction=[!CommandMeasure MeasureSlide "Stop 2"][!CommandMeasure MeasureSlide "Execute 1"]
[MeasureSlide]
Measure=Plugin
Plugin=ActionTimer
Group=Sliders
ActionList1=Repeat Left,5,100
Left=[!SetVariable X1 "(Clamp(#X1#-3,-195,0))"]#U#
ActionList2=Repeat Right,5,100
Right=[!SetVariable X1 "(Clamp(#X1#+4,-195,0))"]#U#
DynamicVariables=1
thnx in advance