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 11 made on Tuesday August 31, 2010 at 22:51
Lowpro
Select Member
Joined:
Posts:
March 2004
2,081
The relevant ProntoScript from that post is shown below. Using a normal button press the function called "doOneThing()" is executed. Using an extended button press the function called "doAnother()" is executed instead.

var counter = 0;
onHold = function()
{ counter++;
if (counter==1) { doAnother(); }
}
onHoldInterval = 1000; onRelease = function()
{ if (counter==0) {doOneThing(); }
}


Now if the activity you are working with won't let you integrate the above ProntoScript per one of your hard buttons couldn't you just add a regular button to that activity that takes you to your lighting page?
LP Related Links:
View my profile to access various
links to key posts and downloads.


Hosting Services by ipHouse