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 3 made on Thursday July 8, 2010 at 21:49
alpha
Long Time Member
Joined:
Posts:
September 2003
258
Try this. Make a blank label in the editor with widget "A" with the size and color you want then.....

Place this script in the page.

var info = GUI.widget( "A" ) ;
info.visible = true ;           // this line makes the panel visible
var b = GUI.widget( "eg_1" ) ; // should be caps


Place this script in the button.

b.onPress = function (x,y) {
          info.visible = true;      // makes panel visible
          info.label = "A" ;       // place whatever text between the quotes
          executeActions ( ) ;   // executes before you release the button
} ;

b.onRelease = function ( ) {
          info.visible = false;   // makes panel not visible
          info.label = "" ;      // when you let go it returns to a blankspace
};

// end of script


You can also use the onHold function. Check that out in the P.S. Developers guide .
The onPress function only works with the latest firmware and prontoedit .
Project Boredom 2 is here. [Link: mediafire.com]
------------------------
Check Version 1 & 2 out in the files section.


Hosting Services by ipHouse