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 Monday September 17, 2007 at 14:52
Marc-Etienne HUNEAU
Long Time Member
Joined:
Posts:
August 2007
80
I'm beginning to see the light.

So... if I want to call a button's script, I should write :

w = CF.widget("ButtonTag", "PageTag" [,"ActivityTag] );

eval(w);

then, if I want the actionlist to be fired too :

w.executeActions();

right ?

The way ProntoEdit UI works, I thought a button could not execute both an actionlist AND a script.
If there's a script, I guess the actionList is only executed if executeActions() is called, right ?


Now, what I would LOVE to see in the next version of prontoscript, is a way to enumerate the widgets on a page.
Because : with my crestron stuff in mind, if I want to provide feedback the crestron way, I tag the objects (like D1 to Dxx for digital joins, A1 to Ayy for analog values, and S1 to Szz for strings). Now, when a page is initialized, I'd want to check all the widgets on the page and store their IDs so as to be able to dispatch feedback messages.

I guess if I use a for.. statement counting to 1024 (for instance) to try all the widgets tagged D1 to D1024 (catching the errors) it's gonna take tons of time.
--
Marc-Etienne HUNEAU
http://www.dsr.fr


Hosting Services by ipHouse