It is currently April 18th, 2024, 2:07 pm

Variables.

Get help with creating, editing & fixing problems with skins
User avatar
WhiteBaron
Posts: 18
Joined: June 9th, 2010, 12:32 pm

Variables.

Post by WhiteBaron »

I'm curious as to whether a Variable can be defined from another file. Say I have 5 different configs that measure hard disk usage, is it possible to link the variable containing the drive I want to measure to another text file. What I'm aiming for here is a single file containing the variable, so I only need to change it at that one location rather than at each skin.
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Variables.

Post by jsmorley »

WhiteBaron wrote:I'm curious as to whether a Variable can be defined from another file. Say I have 5 different configs that measure hard disk usage, is it possible to link the variable containing the drive I want to measure to another text file. What I'm aiming for here is a single file containing the variable, so I only need to change it at that one location rather than at each skin.
Certainly. Go to this page of the manual, http://rainmeter.net/cms/Skins and look for @Include near the bottom.
User avatar
WhiteBaron
Posts: 18
Joined: June 9th, 2010, 12:32 pm

Re: Variables.

Post by WhiteBaron »

Exactly what I was looking for, thanks!