Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 1 made on Monday March 30, 2020 at 15:17
Fischi
Long Time Member
Joined:
Posts:
January 2011
114
Hi, I've tried several timers like as described in the dev.guide.
I have a page timer with a panel showing the remaining time in seconds.
The page script is:

var w, hallLightsTimer;
w = widget("REMAINING");
w.label = hallLightsTimer ;

if( hallLightsTimer > 0 )
{
hallLightsTimer--;
if( hallLightsTimer == 0 )
page("IRCODES").widget("HALL_LIGHTS_OFF").executeActions();
}


All is running OK but after a jump to this page the label of the panel is "undefined"
After starting the timer the remaining time counts OK eg. from 10 to 0.
The 0 is staying.
"Undefined" occurs only after a page jump.
What's the reason ?

Regards,
Fischi


Hosting Services by ipHouse