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 1 made on Saturday January 3, 2009 at 09:57
electroteam
Lurking Member
Joined:
Posts:
May 2004
4
Well guys I’ve got a problem with my pronto script.
Beneeth the volume buttons I’ve put a pronto script that depending on the value of “VOL” sends a different IR command. In total there are 3 different volumes to be controlled.
The code under the hardbutton Vol +:
onHold = function()
{
if(System.getGlobal("VOL") == "TV")
{
if(System.getGlobal("LR") == "Links")
{
CF.widget("TV+","Volume_Zone_L","Script_Links").executeActions();
}
else
{
CF.widget("TV+","Volume_Zone_R","Script_Links").executeActions();
}
}
else
{
if(System.getGlobal("VOL") == "Speaker")
{
if(System.getGlobal("LR") == "Links")
{
CF.widget("Speaker+","Volume_Zone_L","Script_Links").executeActions();
}
else
{
CF.widget("Speaker+","Volume_Zone_R","Script_Links").executeActions();
}
}
else
{
if(System.getGlobal("LR") == "Links")
{
CF.widget("Yamaha+","Volume_Zone_L","Script_Links").executeActions();
}
else
{
CF.widget("Yamaha+","Volume_Zone_R","Script_Links").executeActions();
}
}
}
};
onHoldInterval = 30; // msec

When I go to the page “script_Links” an push the buttons, they all work fine.
When I press and hold the TV+ button, the volume of the TV goes up like a butterfly ;)

But when I push the hardbutton Vol+ it doesn’t work. The TV steps once or twice, but the command doesn’t seem to repeat. On top of that is that the pronto does send IR, as my telephone camera shows …

I’ve also tried to vary onHoldinterval from zero til 250. Didn’t work.

So the question seems, whats the different between my pronto script and actually pressing the button my self ?

Any suggestions ?

( if anyone knows how to display the code above right, please let me know )


Hosting Services by ipHouse