Hello everybody,
I have a skin consisting out of 7 small skin's (7 separate .ini files)
Now these 7 are all permanently visible on my desktop at the left side.
I want to make ALL of them, at the same time and action, expandable/collapsible to the left side of the screen.
Is there an easy way to do this, or do I need to put ALL into 1 "large/big" skin?
It is currently March 29th, 2024, 1:00 pm
Skin expand/collaps to left
-
- Posts: 207
- Joined: October 4th, 2019, 2:46 pm
Skin expand/collaps to left
You do not have the required permissions to view the files attached to this post.
-
- Posts: 207
- Joined: October 4th, 2019, 2:46 pm
Re: Skin expand/collaps to left
I'll try to figure it out.
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Skin expand/collaps to left
No, I think you don't need to do this. But first, are all those 7 skins just as wide? As I see on the posted image, I suppose they are, but please confirm first this detail.
-
- Posts: 207
- Joined: October 4th, 2019, 2:46 pm
Re: Skin expand/collaps to left
Yes, they are, same size.
I would like them to expand/collaps when clicking the mouse on the blue left title text like weather or network or disks Or All at once.
I would like them to expand/collaps when clicking the mouse on the blue left title text like weather or network or disks Or All at once.
You do not have the required permissions to view the files attached to this post.
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Skin expand/collaps to left
But those strings belong to the skins. If you slide out all skins, there will be no place to click to, to get them back.
But there is a workaround. Will post it immediately...
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Skin expand/collaps to left
I suggest you to add the skin when you're hovering / leaving or clicking a new skin.
So, my idea: I'd create a variable, to control the position of the skins you'd like to slide. But instead of moving every meter of all those skins (which might be a quite complicated procedure, especially if there are a lot of meters and those meters are placed both way, relatively and absolutely) I'd move the skins themselves.
If you want to try this, first create a new skin (into a new config), which will control when the skins you'd like to move, are slide in and out. Later we'll transfere this action if you want, but first do this so. So, for first I'll propose an extremely simple code. Create the new config / skin and add the following code. This code works only for three skins, but later further ones will be added:
Code: Select all
[Rainmeter]
Update=1000
BackgroundMode=2
SolidColor=0,0,0,50
[Variables]
TooltipWidth=200
TooltipHeight=150
U=[!UpdateMeasure "MeasureSlideSkins"][!UpdateMeasure "MeasureSkinsPosition"][!Redraw]
X=-202
My1stConfig=
My2ndConfig=
My3rdConfig=
Y1stConfig=
Y2ndConfig=
Y3rdConfig=
[MeasureSlideSkins]
Measure=Plugin
Plugin=ActionTimer
Group=Sliders
ActionList1=Repeat In,20,20
In=[!SetVariable X "(Clamp((#X#+#X#/20),#X#,0))"]#U#
ActionList2=Repeat Out,20,20
Out=[!SetVariable X "(Clamp((#X#-#X#/20),#X#,0))"]#U#
DynamicVariables=1
[MeasureSkinsPosition]
Measure=Calc
Formula=#X#
OnChangeAction=[!Move "#X#" "#Y1stConfig#" "#My1stConfig#"][!Move "#X#" "#Y2ndConfig#" "#My2ndConfig#"][!Move "#X#" "#Y3rdConfig#" "#My3rdConfig#"]
DynamicVariables=1
[MeterSlide]
Meter=Image
SolidColor=255,240,0
X=0
Y=0
W=50
Y=50
MouseOverAction=[!KeepOnScreen "0" "#My1stConfig#"][!KeepOnScreen "0" "#My2ndConfig#"][!KeepOnScreen "0" "#My3ndConfig#"][!CommandMeasure "MeasureSlideSkins" "Execute 1"][!CommandMeasure "MeasureSlideSkins" "Stop 2"]
MouseLeaveAction=[!CommandMeasure "MeasureSlideSkins" "Stop 1"][!CommandMeasure "MeasureSlideSkins" "Execute 2"]
- Add the names of the configs you wish to slide as My1stConfig, My2ndConfig and My3rdConfig onto the [Variables] section.
- Replace the value of the X variable with the width of the skins (that's why I asked if they are same wide).
- Add the vertical position of the skins you'd like to slide, as the Y1stConfig, Y2ndConfig and Y3rdConfig variables. Unfortunately this skin doesn't know the position of the other skins, that's why you have to add them manually.
When you load the new skin, the others will stay on the screen, but when you're hovering the mouse over the yellow skin, then you're leaving it, they will slide out and after this start, the sliding will work on every mouse hovering / leaving.
-
- Posts: 207
- Joined: October 4th, 2019, 2:46 pm
Re: Skin expand/collaps to left
I'll give it a go tomorrow.
Thanks already, also for the help on the WIND skin.
Thanks already, also for the help on the WIND skin.
-
- Posts: 207
- Joined: October 4th, 2019, 2:46 pm
Re: Skin expand/collaps to left
Hello Balala,
I have made the config.ini file (See below) I entered the following code for MyConfigs and YConfigs:
When I load the skin, nothing happens. No yellow square, nothing
Probably I do something wrong.
I have made the config.ini file (See below) I entered the following code for MyConfigs and YConfigs:
Code: Select all
[Rainmeter]
Update=1000
BackgroundMode=2
SolidColor=0,0,0,50
[Variables]
TooltipWidth=200
TooltipHeight=150
U=[!UpdateMeasure "MeasureSlideSkins"][!UpdateMeasure "MeasureSkinsPosition"][!Redraw]
X=-290
My1stConfig=MISC
My2ndConfig=SYSTEM
My3rdConfig=DRIVES
Y1stConfig=110
Y2ndConfig=216
Y3rdConfig=314
Probably I do something wrong.
You do not have the required permissions to view the files attached to this post.
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Skin expand/collaps to left
I'm surprised, because if the skin loads properly, its only meter ([MeterSlide]) should load and a small yellow rectangle should open. Look for it on the upper left corner of your screen.
Be careful, it's not too large, being only 50 x 50 pixels. Maybe try enlarging it, replacing the W and H options of the [MeterSlide] meter with larger values:
Code: Select all
[MeterSlide]
...
W=200
H=150
...
-
- Posts: 207
- Joined: October 4th, 2019, 2:46 pm
Re: Skin expand/collaps to left
I put the config.ini file in below directorybalala wrote: ↑October 16th, 2019, 5:53 pm I'm surprised, because if the skin loads properly, its only meter ([MeterSlide]) should load and a small yellow rectangle should open. Look for it on the upper left corner of your screen.
Be careful, it's not too large, being only 50 x 50 pixels. Maybe try enlarging it, replacing the W and H options of the [MeterSlide] meter with larger values:Also one more question: what are the exact paths of the three .ini files?Code: Select all
[MeterSlide] ... W=200 H=150 ...
D:\Rainmeter\Skins\JamX_Monitor\Config\Config.ini
The skin itself, as you can see is in the directory: D:\Rainmeter\Skins
Even when I increase W and H I see nothing.
Code: Select all
[Rainmeter]
Update=1000
BackgroundMode=2
SolidColor=0,0,0,50
[Variables]
TooltipWidth=200
TooltipHeight=150
U=[!UpdateMeasure "MeasureSlideSkins"][!UpdateMeasure "MeasureSkinsPosition"][!Redraw]
X=-190
My1stConfig=Misc.ini
My2ndConfig=System.ini
My3rdConfig=Disks.ini
Y1stConfig=110
Y2ndConfig=216
Y3rdConfig=314
[MeasureSlideSkins]
Measure=Plugin
Plugin=ActionTimer
Group=Sliders
ActionList1=Repeat In,20,20
In=[!SetVariable X "(Clamp((#X#+#X#/20),#X#,0))"]#U#
ActionList2=Repeat Out,20,20
Out=[!SetVariable X "(Clamp((#X#-#X#/20),#X#,0))"]#U#
DynamicVariables=1
[MeasureSkinsPosition]
Measure=Calc
Formula=#X#
OnChangeAction=[!Move "#X#" "#Y1stConfig#" "#My1stConfig#"][!Move "#X#" "#Y2ndConfig#" "#My2ndConfig#"][!Move "#X#" "#Y3rdConfig#" "#My3rdConfig#"]
DynamicVariables=1
[MeterSlide]
Meter=Image
SolidColor=255,240,0
X=0
Y=0
W=150
H=150
MouseOverAction=[!KeepOnScreen "0" "#My1stConfig#"][!KeepOnScreen "0" "#My2ndConfig#"][!KeepOnScreen "0" "#My3ndConfig#"][!CommandMeasure "MeasureSlideSkins" "Execute 1"][!CommandMeasure "MeasureSlideSkins" "Stop 2"]
MouseLeaveAction=[!CommandMeasure "MeasureSlideSkins" "Stop 1"][!CommandMeasure "MeasureSlideSkins" "Execute 2"]
So:
D:\Rainmeter\Skins\JamX_Monitor\Meters\Disks\Disks.ini
D:\Rainmeter\Skins\JamX_Monitor\Meters\System\System.ini
D:\Rainmeter\Skins\JamX_Monitor\Meters\Misc\Misc.ini
You do not have the required permissions to view the files attached to this post.