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

Login:
Pass:
 
 

Page 1 of 3
Topic:
how do i use the Backlight button to jump to page?
This thread has 35 replies. Displaying posts 1 through 15.
Post 1 made on Tuesday August 31, 2010 at 21:10
gopronto
Senior Member
Joined:
Posts:
April 2008
1,453
Hi all

I want to use the back light button to jump to my lighting page, from any part of my project file..

Looking through dev guide, i cart seem to find a

PS_Backlight global funtion?
Pronto still one of the best Wi-Fi Remotes,
www.ikonavs.co.nz and [Link: axiumcontrol.com] Axium Control
Post 2 made on Tuesday August 31, 2010 at 21:44
Barry Gordon
Founding Member
Joined:
Posts:
August 2001
2,157
AFAIK I do not believe you can assign an action to the backlight button
OP | Post 3 made on Tuesday August 31, 2010 at 21:47
gopronto
Senior Member
Joined:
Posts:
April 2008
1,453
Dam and blast, i have a 2way script running , but need to get to my lights page , its the only button i have left free :(
Pronto still one of the best Wi-Fi Remotes,
www.ikonavs.co.nz and [Link: axiumcontrol.com] Axium Control
Post 4 made on Tuesday August 31, 2010 at 21:59
Lowpro
Select Member
Joined:
Posts:
March 2004
2,081
On my System Page I have an invisible button which covers the various system items in the upper right corner of the screen. Said button is used to access my "Lighting" activity. It's a dual use button actually. A normal button press takes you to my "Lighting" activity. An extended button press takes you to my "System Status" page.

Last edited by Lowpro on August 31, 2010 22:14.
LP Related Links:
View my profile to access various
links to key posts and downloads.
OP | Post 5 made on Tuesday August 31, 2010 at 22:12
gopronto
Senior Member
Joined:
Posts:
April 2008
1,453
But how do you may the said button be "On TOP" if you like layer 0, as the script i have running covers all the system items?
we are back to Z layers again :)
Pronto still one of the best Wi-Fi Remotes,
www.ikonavs.co.nz and [Link: axiumcontrol.com] Axium Control
Post 6 made on Tuesday August 31, 2010 at 22:17
Lowpro
Select Member
Joined:
Posts:
March 2004
2,081
Program one of your hard buttons with that "Press & Hold" functionality instead. I provide a ProntoScript example per how to do this here.
LP Related Links:
View my profile to access various
links to key posts and downloads.
OP | Post 7 made on Tuesday August 31, 2010 at 22:21
gopronto
Senior Member
Joined:
Posts:
April 2008
1,453
I carnt do that either as they are all being used , hence i wanted to use the back light button :(

Its a TSU9600 so i dont have the "back" or "info" button either..


how about a double "shake" and use the tilt switch inside :) any idea if thats possible ...
Pronto still one of the best Wi-Fi Remotes,
www.ikonavs.co.nz and [Link: axiumcontrol.com] Axium Control
Post 8 made on Tuesday August 31, 2010 at 22:27
Lowpro
Select Member
Joined:
Posts:
March 2004
2,081
I don't think you understand what I'm saying. Program one of your hard buttons to perform its default action with a normal button press. Have it take you to your lighting page with an extended button press. Why can't you do that?

I provide a ProntoScript example per how to do this here.
LP Related Links:
View my profile to access various
links to key posts and downloads.
OP | Post 9 made on Tuesday August 31, 2010 at 22:33
gopronto
Senior Member
Joined:
Posts:
April 2008
1,453
ok, ill give that a go.. cheers
Pronto still one of the best Wi-Fi Remotes,
www.ikonavs.co.nz and [Link: axiumcontrol.com] Axium Control
OP | Post 10 made on Tuesday August 31, 2010 at 22:44
gopronto
Senior Member
Joined:
Posts:
April 2008
1,453
For some reason the script wont let your code run, it has a load of prontoscript libraries in the Script and i think they have taken over .... ill try it another way :)
Pronto still one of the best Wi-Fi Remotes,
www.ikonavs.co.nz and [Link: axiumcontrol.com] Axium Control
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.
OP | Post 12 made on Tuesday August 31, 2010 at 22:58
gopronto
Senior Member
Joined:
Posts:
April 2008
1,453
I cart add a button to the page as the page is dynamicaly created in the script, LOL :)

i have just sent an email to the programmer to add a button for me :)
Pronto still one of the best Wi-Fi Remotes,
www.ikonavs.co.nz and [Link: axiumcontrol.com] Axium Control
Post 13 made on Tuesday August 31, 2010 at 23:00
Lowpro
Select Member
Joined:
Posts:
March 2004
2,081
Ah, well good luck with it.
LP Related Links:
View my profile to access various
links to key posts and downloads.
OP | Post 14 made on Tuesday August 31, 2010 at 23:19
gopronto
Senior Member
Joined:
Posts:
April 2008
1,453
Many thanks :)
Pronto still one of the best Wi-Fi Remotes,
www.ikonavs.co.nz and [Link: axiumcontrol.com] Axium Control
Post 15 made on Wednesday September 1, 2010 at 11:17
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,997
GoPronto,

The page is not dynamically created, just the contents. You can add your own code to the page script and it will get executed as well.

Did you try something like this from the page script...

var bw = GUI.widget('PS_BACKLIGHT');
bw.onPress = function()
{
System.print("Hello World");
}

I know there is no way to add actions for backlight via PEP. I have never tried the above but it might be worth a shot as well.

I suspect Philips may prevent this but if not, might be worth a shot. However, I strongly recommend LowPro's approach instead.
Lyndel McGee
Philips Pronto Addict/Beta Tester
Page 1 of 3


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