Hi I'm currently making icons using separate .ini files with the following text:
[Rainmeter]
Update=1000
LeftMouseUpAction="program location"
[Background]
Meter=Image
ImageName=image name
W=
H=
PreserveAspectRatio=1
This works for just one icon but is there a way to do this for multiple icons in one .ini file, and how would I do that?
Thank you in advance for your help
It is currently April 28th, 2024, 2:17 am
Controlling multiple icons from the same .ini file
-
- Posts: 2
- Joined: January 7th, 2018, 12:46 am
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Controlling multiple icons from the same .ini file
Don't do it in separate skins...
BTW, on X and or Y options the "R" means relative to the end of the previous meter and "r" means relative to the start of the previous meter.
https://docs.rainmeter.net/manual/meters/image/#PreserveAspectRatio
https://docs.rainmeter.net/manual/meters/general-options/#XY
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[MeterOne]
Meter=Image
W=100
PreserveAspectRatio=1
ImageName=#@#Images\Image1.png
LeftMouseUpAction=["C:\Program Files\Program1.exe"]
[MeterTwo]
Meter=Image
X=10R
Y=0r
W=100
PreserveAspectRatio=1
ImageName=#@#Images\Image2.png
LeftMouseUpAction=["C:\Program Files\Program2.exe"]
https://docs.rainmeter.net/manual/meters/image/#PreserveAspectRatio
https://docs.rainmeter.net/manual/meters/general-options/#XY
-
- Posts: 2
- Joined: January 7th, 2018, 12:46 am
Re: Controlling multiple icons from the same .ini file
Thank you very much