Post 22 made on Tuesday October 13, 2020 at 15:07 |
Fischi Long Time Member |
Joined: Posts: | January 2011 114 |
|
|
Hi, I've made good progress with Pronto and json.
One last problem:
I want to change a widget depending on a value change.
var value4 = jsonObj.Devices[4].value; { widget("DEV4").setImage(CF.widget(value4, "RECOURCES").getImage(0),0); return; }
I get the message in the console :
ProntoScript error: Argument is not a string Offending page script: Tag: 'HOME' Offending line #190: "{ widget("DEV4").setImage(CF.widget(value4, "RECOURCES").getImage(0),0);"
Where is the issue ?
Regards, Fischi
|
|
|