Yincognito wrote: ↑March 28th, 2020, 7:52 pm
I like this type of approach. I've used it multiple times in my skins as well - I just loooove to do something by the sheer math of a formula.
Yep, as said, I consider this an extremely elegant solution.
Yincognito wrote: ↑March 28th, 2020, 7:52 pm
You lost me at ... ItemWhat ... the heck is going on here, LOL. But I believe you, I swear!
I like this type of approach. I've used it multiple times in my skins as well - I just loooove to do something by the sheer math of a formula.
What I did was to use the OP's original code, which is a modified Enigma reader skin. In there he has modified it to display only 1 item and wants to change the color of the [Icon] image meter based on the value of that item; #Item1Title#.
Enigma uses themes ('W' or 'B') as the #ColorImage# value to choose those preset color images from @Resources, so ImageTint is the better solution based on the returned value. Actually, if the 'Light' version is used, ImageTint will not work as well since changing the color of a black icon is not as easy.
Yes guys, that option could be used directly in the add ImageTint line; I have done that many times myself to simplify my code.
Knowing both ways may help others decide which method they want to use.
eclectic-tech wrote: ↑March 28th, 2020, 10:28 pmWhat I did was to use the OP's original code, which is a modified Enigma reader skin. In there he has modified it to display only 1 item and wants to change the color of the [Icon] image meter based on the value of that item; #Item1Title#.
Ohh, you're right. I couldn't see that ItemWhat1 anywhere when I posted the reply (although it was right there in the quoted message, I realized that now), so please excuse my head lurking in the clouds this time.
Anyway, you have to agree that the name just begged for a WT[insert "bad" acronym suffix here] joke on it - and I couldn't help myself...
Wow guys, this is a lot of info!! THANK YOU! Sorry I haven't had time to reply. Lockdown started in a town where I have a small business and getting everyone prepared for that was stressful. I am back now and going to try to figure this out and get some answers and HOPEFULLY get this to work. I really wish I knew Rainmeter like I do Google Sheets. But thanks for all you guys taking time to help me on this.
tjhuntley wrote: ↑April 15th, 2020, 4:48 am
I saw this and literally lolled. My gf just looked at me weird. :/
That was the whole point of it - we must find ways to have fun even with the problems you mentioned on the horizon. Your girlfriend probably thought "what the ... heck" as well, haha! Just make her laugh as well and you'll be fine.