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

Lua Scripting • Feeding a table from RM?

$
0
0
So.. in lua a table can be this:

Code:

table={'String1','String2','String3'}
What I'm trying to do is to set a variable with those strings on rainmeter and feed it to lua:

RM:

Code:

[Variables]SomeStrings="'String1','String2','String3'"[ScriptMeasure]...SomeStrings=#SomeStrings#
Lua:

Code:

Update()table={SELF:GetOption('SomeStrings')}end
That won't work. Also tried with GetVariable. Also tried SomeStrings="{'String1','String2','String3'}"

So... Is there a way to do it?

Statistics: Posted by RicardoTM — Yesterday, 1:58 am — Replies 4 — Views 92



Viewing all articles
Browse latest Browse all 871

Trending Articles