It is currently March 28th, 2024, 11:58 pm

Is it possible to lock meters to others so I can move them in one go?

Get help with creating, editing & fixing problems with skins
DigitalEssence
Posts: 27
Joined: January 29th, 2016, 6:43 pm

Is it possible to lock meters to others so I can move them in one go?

Post by DigitalEssence »

Hi,

I've searched all over for this and can't find anything so apologies if it has been asked so many times you guys are sick of seeing the same questions.

I'm just dipping my toes into Rainmeter and so far have very basic CPU and Ram meters displaying in a circle with the % value to the right of each circle.

So far so good... My question is, it it possible to lock my Meter=STRING to my Meter=Roundline so that if I move one by altering the X & Y coords, it moves the other?

I had an idea that I could do it with variables and add values to it:

ie:

RAMCircleXPosition=300
RAMStringXPosition=#RAMCircleXPosition#+30

and then in my meter have:

[meterValueRAM]
Meter=STRING
X=#RAMStringPosition#
Y=44


but this didn't pick up the value I'm trying to add.

So, my question. How do I group a stack of elements (meters) together so that if I move one it moves all of the elements?

Or should I have each on in a separate .ini file?

Again, sorry for the noob question.

Regards,

Hedley
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Is it possible to lock meters to others so I can move them in one go?

Post by balala »

Use relative positioning: https://docs.rainmeter.net/manual/meters/general-options/#XY
For specific help, please post your code.
DigitalEssence
Posts: 27
Joined: January 29th, 2016, 6:43 pm

Re: Is it possible to lock meters to others so I can move them in one go?

Post by DigitalEssence »

balala wrote:Use relative positioning: https://docs.rainmeter.net/manual/meters/general-options/#XY
For specific help, please post your code.
Brilliant, thank you.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Is it possible to lock meters to others so I can move them in one go?

Post by balala »

DigitalEssence wrote:Brilliant, thank you.
You're welcome, if I helped.