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 21 made on Monday January 2, 2012 at 12:10
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,996
Steve,

I think you likely have issues where you may not have setup the ProntoScript names (aka tags) properly on all pages and widgets.

In your activity script, you should have the following:

var keyboardState = 0;

Now, in your Overlay page, you should add a button 'Shift' and put in the following prontoscript for the button.

if (keyboardState == 0)
keyboardState = 1;
else
keyboardState = 0;


To be able to add ProntoScript to the UI button, you must press the 'PS' button on the top-right of the Actions tab toolbar of the Properties dialog. Add your script, and optionally give this button a ProntoScript name.

Finally, on your pages 'Unshifted' and 'Shifted', be sure you assigned the ProntoScript Name and not the label (the label appears in the tree view on the left) based on whether page is Unshifted or Shifted. Next, on each of your 'KeyA' buttons, make sure you assigned the ProntoScript name (aka tag) by clicking the 'PS' button on the top-right of the Actions tab toolbar of the Properties dialog. The ProntoScript name you should assign to both buttons is 'KeyA'.

Now, for the differences between scheduleActions and executeActions, please run a search for both keywords. I have included some relevant threads here as well.

[Link: remotecentral.com]

[Link: remotecentral.com]

If your actionList contains a Page Jump, you should use scheduleActions otherwise, you must use Javascript try/catch block to avoid logging an error that is emitted when Page Jump occurs to the Diagnostic Log.
Lyndel McGee
Philips Pronto Addict/Beta Tester


Hosting Services by ipHouse