It is currently April 23rd, 2024, 1:03 pm

Setvaribale from a skin into a file in @resources folder

Get help with creating, editing & fixing problems with skins
User avatar
balala
Rainmeter Sage
Posts: 16162
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Setvaribale from a skin into a file in @resources folder

Post by balala »

Gangula wrote:Okay, Thank you. Really helps
I'm glad. But have you finally succeeded into setting the variable(s) properly?
Gangula
Posts: 14
Joined: January 28th, 2018, 8:45 am

Re: Setvaribale from a skin into a file in @resources folder

Post by Gangula »

balala wrote: But have you finally succeeded into setting the variable(s) properly?
Yeah, I have tried it with one of the skins I needed, now I just simply have to increase the number of SetVariable bangs
User avatar
balala
Rainmeter Sage
Posts: 16162
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Setvaribale from a skin into a file in @resources folder

Post by balala »

Gangula wrote:Yeah, I have tried it with one of the skins I needed, now I just simply have to increase the number of SetVariable bangs
Ok, I'm glad.
Gangula
Posts: 14
Joined: January 28th, 2018, 8:45 am

Re: Setvaribale from a skin into a file in @resources folder

Post by Gangula »

balala wrote:Have to write one pair (one for the X and the other for the Y variable), then copy and paste them so many as many times you need them.
Can I do this in the variables.Inc file and use that as a variable in the skin?
User avatar
balala
Rainmeter Sage
Posts: 16162
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Setvaribale from a skin into a file in @resources folder

Post by balala »

Gangula wrote:Can I do this in the variables.Inc file and use that as a variable in the skin?
Again: using the !SetVariable bang doesn't write anything anywhere. The variables set by these bangs are set dynamically, without physically writing them. Their newly set values exist just in the memory, aren't written to a file. So, there is nothing to do in the variables.inc file, or in any other.

EDIT: Am I misunderstood you? You'd like to write the !SetVariable bangs into the variables.inc file?
Gangula
Posts: 14
Joined: January 28th, 2018, 8:45 am

Re: Setvaribale from a skin into a file in @resources folder

Post by Gangula »

balala wrote: EDIT: Am I misunderstood you? You'd like to write the !SetVariable bangs into the variables.inc file?
Yeah, I would like to write the "!SetVariable" bangs into the variable.inc file as a variable and use it in multiple skins.