Is it possible to change a widget's value using the set()
function from another session? (assuming that both sessions are open in two different clients: Android phone and Windows tablet)
Thank you!
set() only work within a single client, but if the two clients are connected to the same server, widgets that don't have bypass
enabled will synchronize automatically.
Phone: connected to session1.json
Tablet: connected to session2.json
(both clients on the same O-S-C server)
What I want to do:
Execute a script from
session1.json
to change the value of a widget insession2.json
.
P.S. Calling the json
file a template seems a little odd to me...
If the widget doesn't exist in both sessions then custom module would be the way.
P.S. Calling the json file a template seems a little odd to me...
They're called sessions / session files actually, I don't think the word template is relevant either.
1 Like