Lua Scripting • Re: Talking with Lua...
Rainmeter Forums » Lua Scripting
by RicardoTM
1M ago
Frankly, I had no idea that multi escaping would solve your problem here, I only mentioned it so that you know for the future, but I'm glad that the time was right and it did. You're welcome, as always. How would you if I didn't even explain the problem correctly . You hit the nail anyway. Statistics: Posted by RicardoTM — March 20th, 2024, 4:22 pm ..read more
Visit website
Lua Scripting • Re: Talking with Lua...
Rainmeter Forums » Lua Scripting
by Yincognito
2M ago
Thanks for your help, as always. Frankly, I had no idea that multi escaping would solve your problem here, I only mentioned it so that you know for the future, but I'm glad that the time was right and it did. You're welcome, as always. Statistics: Posted by Yincognito — Yesterday, 7:31 pm ..read more
Visit website
Lua Scripting • Re: Talking with Lua...
Rainmeter Forums » Lua Scripting
by RicardoTM
2M ago
I think the correct way to write it would be [!SetOption meter fontcolor "[&*Script:function('[#*Color*]')*]"] (notice the order of &, #, and *). Also, in case you need this one day, you can "multiescape" things, like, for example, [#**Color**] and such (useful if you nest escaped stuff in variables)... Hey Yin, Interesting, In my first tests it seemed to me that [*#Color*] was exactly the same as [#*Color*]. Since it didn't appear to make any difference. Same for [*&Measure*] and [&*Measure*]. But [*&Measure[*#Color*]*] is not the same as [&*Measure[#*Color*]*] appar ..read more
Visit website
Lua Scripting • Re: Talking with Lua...
Rainmeter Forums » Lua Scripting
by Yincognito
2M ago
Hey teacher I got a question. What if the arg is a dynamic variable used on a SetOption bang and you want it to stay dynamic? Something like [!SetOption meter fontcolor "[*&Script:function('[*#Color*]')*]"] What's the correct syntax for that? I think the correct way to write it would be [!SetOption meter fontcolor "[&*Script:function('[#*Color*]')*]"] (notice the order of &, #, and *). Also, in case you need this one day, you can "multiescape" things, like, for example, [#**Color**] and such (useful if you nest escaped stuff in variables)... Statistics: Posted by Yincognito ..read more
Visit website
Lua Scripting • Re: raincolors.lua
Rainmeter Forums » Lua Scripting
by RicardoTM
2M ago
Not entirely sure, I guess 4.3 or something. Personally, I always use 3.0 cause I don't like to bother with finding out the version that supported this and that, but that's just me. Alright, I'll do that. Statistics: Posted by RicardoTM — Yesterday, 11:49 pm ..read more
Visit website
Lua Scripting • Re: raincolors.lua
Rainmeter Forums » Lua Scripting
by Yincognito
2M ago
Thanks, it's been quite a trip indeed. A lot of stuff to learn. Hopefully it helps getting nice looking skins and makes it easier to make themes in a quicker way. Which is why I created this, I was having a hard time creating a light theme for my gauges skin, this lib will definitely help making it. It can also be used to let users select one or two colors and all the skin's UI would adapt to that. The adjust contrast function is a very powerful one. Who uses old versions of Rainmeter? jk, I'm not aware of what versions support what so that's why I just don't touch that. If you let me know ..read more
Visit website
Lua Scripting • Re: raincolors.lua
Rainmeter Forums » Lua Scripting
by RicardoTM
2M ago
Nice result, and a good first dive into Lua! Hopefully it will be of use to both you and others looking for something similar, and add to the abilities of whatever skins will be based on these. P.S. One minor observation though: when packing a skin, you might consider setting the minimum required Rainmeter version to something lower, so that folks using older versions of Rainmeter can install it too. Thanks, it's been quite a trip indeed. A lot of stuff to learn. Hopefully it helps getting nice looking skins and makes it easier to make themes in a quicker way. Who uses old versions of Rai ..read more
Visit website
Lua Scripting • Re: raincolors.lua
Rainmeter Forums » Lua Scripting
by Yincognito
2M ago
Alright, finally released it. Edited first post Nice result, and a good first dive into Lua! Hopefully it will be of use to both you and others looking for something similar, and add to the abilities of whatever skins will be based on these. P.S. One minor observation though: when packing a skin, you might consider setting the minimum required Rainmeter version to something lower, so that folks using older versions of Rainmeter can install it too. Statistics: Posted by Yincognito — Yesterday, 10:57 pm ..read more
Visit website
Lua Scripting • Re: raincolors.lua
Rainmeter Forums » Lua Scripting
by RicardoTM
2M ago
Alright, finally released it. Edited first post Statistics: Posted by RicardoTM — 59 minutes ago ..read more
Visit website
Lua Scripting • Re: colors.lua
Rainmeter Forums » Lua Scripting
by Yincognito
2M ago
Aight, that's creative. Thanks, that fixes it. I have some stuff to do. I hope to post the whole code later tonight. Okeydokey. Statistics: Posted by Yincognito — 34 minutes ago ..read more
Visit website

Follow Rainmeter Forums » Lua Scripting on FeedSpot

Continue with Google
Continue with Apple
OR