Switch to the dark side!

Rainmeter

Latest Discussion
13 hours ago
6 months ago
9 months ago
9 months ago
More...

Post a new topic



"Stylesheet" possible?

Avatar-50x50
Xevailo says:

Hello everyone,

I know that you can set FontSize, Color, Font etc at the beginning of the .ini file and use these values via #FontSize# and so on through the rest of your script. But is it also possible to have those Variables take their respective values from another .ini File? So that would have to change only one .ini File to alter the look of all plugins I have written?

For example:

Stylesheet.ini:

[Variables]
FontName=Arial
FontHeight=10
...

Some_Plugin.ini

[Variables]
FontName=Stylesheet.ini\FontName
FontHeight=Stylesheet.ini\FontHeight
...

Thanks in advance,

Xevailo

02:27 am, Wednesday, February 19, 2014 (9 months ago)
 

Reply to this topic

You must register and become a member to post a reply.