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

Help: Rainmeter Skins • Re: Chameleon + Lua

$
0
0
I am not great with LUA and I am not having a lot of luck getting the colors back into the skin.
It's not an example, but you could simply trigger the suited bangs from Lua in order to send the color values back to the skin:
https://docs.rainmeter.net/manual/lua-scripting/#Bang
Or, you can use the inline Lua syntax to receive those values into the skin, via either a Lua function or a Lua variable:
https://docs.rainmeter.net/manual/lua-scripting/inline-lua/#CallingAFunction
https://docs.rainmeter.net/manual/lua-scripting/inline-lua/#RetrievingAVariable

Personally, I prefer the latter, as it makes the Lua script portable between skins, without having to edit the script when using it for another similar skin.

Statistics: Posted by Yincognito — Today, 12:06 pm



Viewing all articles
Browse latest Browse all 1489

Trending Articles