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).So how do I dynamically change SolidColor in [Rainmeter]?
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).
Statistics: Posted by balala — Yesterday, 7:45 pm