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:
Need ProntoScript for Controlling Two Display Devices
This thread has 10 replies. Displaying all posts.
Post 1 made on Saturday January 31, 2009 at 09:45
nellie7979
Long Time Member
Joined:
Posts:
July 2008
75
I have two displays on my wall in the same room and I want my Pronto to control them in the following manner:

On every screen I want two tabs, one for my Plasma and one for my LCD. When I switch back and forth between the tabs, I want the device to remember which activity the display is on. For example, if I turn on broadcast TV on my plasma, and then I switch tabs for my LCD to access my Media Center on it, when I go back to the "Plasma" tab, I want it to automatically revert back to the activity screen for watching TV.

Since I don't know prontoscript I made a workaround and when you select the Plasma or LCD tab it first asks me if I already started an activity or not, but that is a clunky interface that I hope to be rid of with someone's help.

I am willing to pay a programmer a modest sum for a prontoscript that does exactly what I want. I imagine there must be someone out there that has wanted to control two display devices with their pronto in this manner.

If you're interested, please respond to this thread or email me. Thanks.
Post 2 made on Saturday January 31, 2009 at 19:08
Barry Gordon
Founding Member
Joined:
Posts:
August 2001
2,157
Go ahead and bite the bullet. learn a little prontoscript. You need very little to do what you want.


When you hit the tab you want to save in global storage in one of two named strings (LCD and Plasma) the activity to jump to when you return to that page. System.setGlobal("LCD",CF.page().label) will do one case while
System.setGlobal("Plasma",CF.page().label) will do the other case

When you do return to that page then you need to pull what you saved and execute an actions list containing a jump or whatever to restore the system to where you want to be, based on what was saved.

CF.widget("JUMP_"+System.getGlobal("LCD"),"JumpPage").executeActions(); will do the activity reset providing you have a page whose prontoscript tag is "JumpPage" and it contains the approriately named buton ("JUMP_xxxxx")

It is rather trivial but I am too busy right now and I am sure someone will do you the favor. The above is not verbatum, but is pretty close. The concept is fine as I use it.

Go on Have some fun
Post 3 made on Saturday January 31, 2009 at 22:30
buzz
Super Member
Joined:
Posts:
May 2003
4,383
nellie7979,

If you are afraid to get your feet wet with some ProntoScript, you can come close to your goal with the following:

Place a "Return" button on your LCD and Plasma landing pages. For the button's action, pick the special "Browse Backward" function.

Play with this method for a while. It is not a perfect solution, but you can accomplish most of your goal in a couple minutes. I've been using this method for several years ... long before ProntoScript was available. With a little care and planning, in most cases you can work around the method's quirk. What is the quirk? You'll discover it soon enough. (It is not so much a quirk, as it is a bad assumption and wishful thinking by the programmer.)

If you grow tired of the quirk, this will be an incentive to learn ProntoScript.
OP | Post 4 made on Sunday February 1, 2009 at 12:38
nellie7979
Long Time Member
Joined:
Posts:
July 2008
75
Yea I should just learn some ProntoScript. Any tips on how to initiate a swap command for the two displays? The idea would be if Im watching TV on display 1 and playing Xbox on display 2, I'd like a single button to switch the inputs appropriately so I'd be playing Xbox on display 1 and watching tv on display 2.

I would need a command that saved in memory the commands to start the individual activities and somehow relate that activity to the corresponding macro for the other display. This one might be out of my reach.

Last edited by nellie7979 on February 1, 2009 12:48.
Post 5 made on Sunday February 1, 2009 at 13:51
Barry Gordon
Founding Member
Joined:
Posts:
August 2001
2,157
Ir or RS232? Either way a macro with 2-6 lines in it should do. Do you have a switcher in the loop or how do you feed both devices since each source sounds like it goes to both displays.?
OP | Post 6 made on Sunday February 1, 2009 at 14:41
nellie7979
Long Time Member
Joined:
Posts:
July 2008
75
On February 1, 2009 at 13:51, Barry Gordon said...
Ir or RS232? Either way a macro with 2-6 lines in it
should do. Do you have a switcher in the loop or how
do you feed both devices since each source sounds like
it goes to both displays.?

IR. I have a newly acquired RFX9400 and a 4x2 Apogee True Matrix HDMI switch that is controlled though the RF->IR capabilities of the RFX9400.
Post 7 made on Sunday February 1, 2009 at 15:28
Barry Gordon
Founding Member
Joined:
Posts:
August 2001
2,157
Every man has the wit to know and the will to learn, but the key to knowledge is the open book.
OP | Post 8 made on Sunday February 1, 2009 at 15:38
nellie7979
Long Time Member
Joined:
Posts:
July 2008
75
Which book would you recommend I open?
Post 9 made on Sunday February 1, 2009 at 20:26
Barry Gordon
Founding Member
Joined:
Posts:
August 2001
2,157
Actually two. The pronto developers guide; and Flanagans book on Java script that is referenced in the guide and elsewhere on this form. Just do a search.

Once you get going, you will see it is not that tough. If you have never done any programming get a beginners programming books, Maybe there is a JavaScript for dummies, no offense intended.
OP | Post 10 made on Wednesday February 4, 2009 at 05:54
nellie7979
Long Time Member
Joined:
Posts:
July 2008
75
DID YOU JUST CALL ME A DUMMY? YOU !@#!@#. Just kidding. Thanks for the advice Barry. For now I'm going to cheat and have an intermediate screen whenever I switch between LCD and Plasma tabs that asks if you're already using the second activity. I'll give the materials you mentioned a try.

Thanks again
Post 11 made on Wednesday February 4, 2009 at 09:11
Barry Gordon
Founding Member
Joined:
Posts:
August 2001
2,157
I sent you a PM


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