Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
Button -> Configuration / PEP2 / TSU9400
This thread has 6 replies. Displaying all posts.
Post 1 made on Monday December 29, 2008 at 07:33
MAT-CH
Long Time Member
Joined:
Posts:
October 2008
13
Hello

Can anyone let me know how to tell a Button to send a IR-Code aslong as the Button is pressed?
I'd like to dim the lights, but to dim, i have to send the comand until i have reached the brightnes i'd like.
On / off works...
I use PEP2 an a TSU9400

Thanks

Mathias
Remote: 1x TSU9400 / 1x RFX9600
Homecinema: Samsung LE-46A956, Onkyo PR-SC886, Samsung BD-P1400, Netgear EVA-8000, 5x Genelec 8030, 1x Genelec 7050
Post 2 made on Monday December 29, 2008 at 08:05
Guy Palmer
Active Member
Joined:
Posts:
June 2008
648
Two options that I can think of, neither of which is trivial:

Option 1: change the IR code so that it is repeating rather than non-repeating (but this needs you to decipher the code).

Option 2: use Prontoscript to write a loop (but this needs you to know a bit about Prontoscript).

I do option 2.
OP | Post 3 made on Monday December 29, 2008 at 08:10
MAT-CH
Long Time Member
Joined:
Posts:
October 2008
13
Hello

Thank you for the Answer.
Do you have a manual to learn about Prontoscript? Or how did you lern it?

Regards

Mathias
Remote: 1x TSU9400 / 1x RFX9600
Homecinema: Samsung LE-46A956, Onkyo PR-SC886, Samsung BD-P1400, Netgear EVA-8000, 5x Genelec 8030, 1x Genelec 7050
Post 4 made on Monday December 29, 2008 at 08:34
Guy Palmer
Active Member
Joined:
Posts:
June 2008
648
Prontoscript is basically Javascript. The manual can be found in the Files section on this website. Unless you are a programmer, however, it is not exactly easy to learn. Here is how I do repeat dimming:

Create two buttons, one visible on the screen and the other hidden (e.g. off to the right of the screen). The visible button will be the one that you press and hold for repeat dimming whilst the hidden button will contain the standard IR code for dimming.

On the visible button, press the prontoscript option under the actions tab and enter:

onHoldInterval = 100;
onHold = function()
{
CF.widget("PS_Dim").executeActions();
onHoldInterval=1;
};

Essentially, this is a loop which keeps executing the commands in the hidden button for as long as the button continues to be pressed.

On the hidden button, set the action as you have it currently, namely the IR code for dimming. Then, go to the advanced tab and set the prontoscript name to be PS_Dim. This then tells the loop in the visible button what commands to execute.

The code above will only work if the two buttons are on the same page. If you want them to be on different pages then the cross-referencing between them is a bit more complicated.

Best of luck.
OP | Post 5 made on Monday December 29, 2008 at 09:02
MAT-CH
Long Time Member
Joined:
Posts:
October 2008
13
Thank you

I'll try it...

Mathias
Remote: 1x TSU9400 / 1x RFX9600
Homecinema: Samsung LE-46A956, Onkyo PR-SC886, Samsung BD-P1400, Netgear EVA-8000, 5x Genelec 8030, 1x Genelec 7050
OP | Post 6 made on Monday December 29, 2008 at 10:10
MAT-CH
Long Time Member
Joined:
Posts:
October 2008
13
Hello Guy Palmer

Thank you verry much. ;-)
It works!!! And it seams that i learnd how to write Pronto Script...

Regards


Mathias
Remote: 1x TSU9400 / 1x RFX9600
Homecinema: Samsung LE-46A956, Onkyo PR-SC886, Samsung BD-P1400, Netgear EVA-8000, 5x Genelec 8030, 1x Genelec 7050
Post 7 made on Monday December 29, 2008 at 14:54
Guy Palmer
Active Member
Joined:
Posts:
June 2008
648
Well done!

Prontoscript is a full programming language so you can use it for all sorts of things.


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse