I believe this is possible, I just can’t wrap my head around the write steps to take.
According to this thread globals can talk to each other between widgets and even edit them.
I would like to read a global’s text value so that all widgets can share the same global produced from a random number (for RGB purposes).
If I am understanding correctly, I could in theory do the following:
In Widget 1:
- Set global variable “gv1” to
$rnd(0-60)$ - Set global variable “gv2” to variable “gv1” so that a number is read and not the formula
- Send “gv2” via flow on “Load” (which i think is just the widget loading?)
In Widget 2:
- Read “gv2” and assign to “gv3”
- Use “gv3” throughout that widget
What I have no idea about is Flows, the documentation isn’t very helpful and I can’t figure out how to send and receive a global. I’ve tried using URLs through the multiple actions but when i test them KWGT can’t seem to find the first global and I have no idea how I would assign a global to one the second widget could read either. Any ideas?