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

Help: Rainmeter Skins • Re: No color change on the shape with corresponding value

$
0
0
@eclectic-tech:

So yes, I did need these "Nested Variables", I thought so. It finally works the way I want it to, thank you very, very much, you are my hero. :bow: :thumbup: :great:

I had also tried my hand at these "Nested Variables" myself, but as already mentioned, I break off every time and could bite the keyboard. I don't know why, but my brain just doesn't get it. When it's presented to me as an example, as you have now, it's always like "Yes, of course, that's how it has to be ... oh man am I hollow"

As for the Color=0,0,0, thing, yes, I know that I'm going down a very unconventional path. I've been using this method in my skins for a while now. But I think I'll have a think about your suggestion to change it.
Because I have now realized that it can possibly cause problems when I want to use a variable created in this way in a measure with the Substitute-Function.

I will test it right away. Because I noticed that in my measure [mAPP1CHECK] under Substitute="-1": "#Color7#", "1": "#Color6#" the color value 192,192,192, (my variables -> #Color7#) was changed by the substitute to -> 0,255,0,92 or something similar and then the desired colors were not correct.
To get around this, I turned 192,192,192 into 200,200,200, because I suspected that the "-1" or "1" in Substitute had something to do with it. Maybe in BUG in Rainmeter, or am I misunderstanding the Substitute function here. I think you mentioned something in your suggestion about how I specify the color code variables.

EDIT 1: So, I implemented your tip and removed the last , in the color codes and inserted them in the respective lines of code instead. Works as desired.
BBUUTT, there really seems to be a problem somewhere with the Substitute and the color code 192,192,192.
This is converted to 0,255,0.
You are welcome to try it out, I think you still have my skin.
So I'm just asking for the sake of interest, do I have a lack of knowledge about the Substitute-Function or is this a BUG?

EDIT 2: Is there actually a possibility in Rainmeter, which works similar to the PlugIn=Process, where it is checked whether a program is active, also for web links?
I'm asking because I have a button in my skin that opens a link. Of course only the browser button starts blinking in green. But the button for the link remains gray, because a link is opened and not a process in the form of e.g. C\Program Files\ProgramXYZ\xyz.exe

Statistics: Posted by Youkai1977 — Today, 10:50 am



Viewing all articles
Browse latest Browse all 1602

Trending Articles