Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 687

Help: Rainmeter Skins • Re: Set [Rainmeter] SolidColor dynamically.

$
0
0
So how do I dynamically change SolidColor in [Rainmeter]?
Unfortunately you can't change dynamically things of the [Rainmeter] section, excepting the custom Context menu items. This means that you can't alter the SolidColor of background neither with !SetVariable, nor with a !SetOption bang. What you read in the !Setoption Guide is completely true and there is no way to overide this and dynamically alter any option of the [Rainmeter] section (excepting the mentioned ones).
You have two possibiliies:
  • The first is the one mentioned by RicardoTM above. You have to add either an Image or a Shape meter as the first meter of your code (this is extremely important thing if you want to do it this way - make sure there is no meter preceding this one), then you can alter their options (SolidColor of an Image or Fill Color of a Shape meter).
  • If you want to use the SolidColor into the [Rainmeter] section, you have to rewrite it by a !WriteKeyValue bang, then have to refresh the skin. This procedure might have some disadvantages, namely that by it you lose any dynamic change of your skin (any setting done by !SetVariable or !SetOption bangs).
Which of these solutions is better, depends. It's up to you to decide. If you have any further question, feel free to come back and ask.

Statistics: Posted by balala — Yesterday, 7:45 pm



Viewing all articles
Browse latest Browse all 687

Trending Articles