This was the solution. Thanks.Additionally, you'd better check the Nested Variables in Rainmeter section on this page:
https://docs.rainmeter.net/manual/lua-scripting/inline-lua/
and use something like [&#CURRENTSECTION#:W] instead of simply [#CURRENTSECTION#:W], for example. I know these are meters and not measures and the & is not absolutely needed, but then it doesn't hurt to use it for meters either, if anything, for the principle itself.
I'd actually already checked that page (and searched the forum) but it didn't mention your suggested syntax, instead it lists `[#VarName]` to be used instead of `#VarName#` which I'd tried without it making any difference (and various combinations per the other Nested Variables docs page). While the `[&...` is listed exclusively for measures so wasn't obvious.
Perhaps the `#CURRENTSECTION#` variable is unique in that regard (in that it requires a unique hybrid syntax)? Would be worthwhile added to the docs as some extra example perhaps.
Statistics: Posted by Crest — Today, 10:23 am