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 4 made on Saturday December 15, 2018 at 12:25
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,999
function callmeOnScreenOn()
{
}

function callmeOnScreenOff()
{
}

CF.activity().onWake = callmeOnScreenOn;
CF.activity().onSleep = callmeOnScreenOn;

The onSleep callback is invoked when backlight goes off.

The onWake callback is invoked 'after' any 'pageExit' 'pageEnter' callback functions as soon as the remote becomes active after sleep.

Based on what I recall, 'activating' the remote can be done 1) by touching a Hard/Firm button or Backlight button 2) Pickup sensor trigger, or 3) a scheduled script executes that causes a Browse/Jump (Jumps automatically activate the backlight as the page will be changing).

In my opinion, these are misnamed because the remote is actually not asleep when docked as ProntoScript continues to run. For purists, they should have been named onActivate, onPassivate.

Last edited by Lyndel McGee on December 15, 2018 14:35.
Lyndel McGee
Philips Pronto Addict/Beta Tester


Hosting Services by ipHouse