2016-04-30, 08:04
(2016-04-30, 05:47)wyrm Wrote: I thought there was an issue with my calling of the script (I tried clearing the skin string before calling the script to help with the error message that was thrown in the debug log) but the first time I enter the home screen I always see the attached error lines in the debug log, I don't see then the next time I enter the home menu, only on the first entry
Well, that's simple. At that time the property is not yet available (so is empty).
A solution could be to check if the property has a value before calling the script or even better if the value is empty use a timer to launch the script.
Something like this:
<onload condition="!IsEmpty(Window(Home).Property(Movies.Count))">RunScript(blah)</onload>
<onload condition="IsEmpty(Window(Home).Property(Movies.Count))">AlarmClock(count,RunScript(blah),00:05,silent)</onload>