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 7 made on Sunday December 3, 2017 at 18:23
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,994
I'd be willing to bet that these buttons have Page Jump actions in the ActionList...

CF.widget("PSW1","Activites","Please Wait..") .executeActions();

put a try/catch block around everything

Inside your catch(e) do a Diagnostics.log(e) or System.print(e) on the error being returned.

I think you will see that upon the Jump, the prontoScript is aborted with an error message (I forget what it is but is likely something like ActionList Error or something like that).

If you attempt to move to another activity while this one is executing, all javascript will be shutdown.

See Post #2 in this thread and try changing your calls to executeActions() to scheduleActions().

Note that if any widget that is executed causes a Jump to another activity, the actions scheduled after may be cancelled.


I personally would avoid putting the CF.widget().executeActions() into the Activity script and instead invoke them only after a page is loaded and ready to show (in a Page Script).

Alternatively, you might rearrange things and try it out.

function resetEverything()
{
// put in all the code you are doing in the activity script in the body of this function
}

and finally, invoke the function from your page script as follows:

resetEverything();
Lyndel McGee
Philips Pronto Addict/Beta Tester


Hosting Services by ipHouse