Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Previous section Next section Up level

What's New
1/13/09 - 7:38 PM ET - The server transfer is now starting, and should be done within half an hour. During this period members will NOT be able to post to the forums.
1/08/09 - Budget clicker offers one-touch access to favorite channels; also new advanced home theater model with Z-Wave control.
1/07/09 - Two new color LCD controls capitalize on company's recent agreement to distribute One For All products.
1/06/09 - First voice-enabled remote for Vista Media Center Edition offers intuitive control.
1/06/09 - New enhancements in the pipeline include 2-way Z-Wave and 2-way serial communications.

Up level

The following page was printed from RemoteCentral.com:

RemoteCentral.com has moved to a NEW SERVER - and this is the OLD one!
Please visit http://www.remotecentral.com for current data.

Forums > Philips Remotes > Philips Pronto Professional
How to Page Flip on Pronto Script
Login:
Pass:

Topic:How to Page Flip on Pronto Script
This thread contains 6 posts (5 replies). Displaying all posts.
Post 1 made on Monday January 12, 2009 at 13:38
...it's new!
Junior Member
Joined:April 2008
Posts:13
View Profile
I'm a little unsure how to do a Page flip in Pronto Script anyone have any ideas?

Cheers

Iain

Mr P
[ Reply | Quote & Reply
Post 2 made on Monday January 12, 2009 at 14:39
...it's new!
Junior Member
Joined:April 2008
Posts:13
View Profile
My bad, should have searched for Jump and not page flip, just looking at it now. But any points would be great.

Mr P
[ Reply | Quote & Reply
Post 3 made on Monday January 12, 2009 at 18:37
...it's new!
Long Time Member
Joined:December 2002
Posts:24
View Profile
Put your jumps in a hidden button's actionlist and then call that list via script with executeActions().
[ Reply | Quote & Reply
Post 4 made on Tuesday January 13, 2009 at 17:56
...it's new!
Loyal Member
Joined:August 2001
Posts:8,000
View Profile
My suggestion is to also wrap your call to executeActions() with a try/catch block to prevent ActionListErrors from frequenting your diagnostic log.

Also note that if you are trying to do widget.executeActions to achieve a jump from a page script, you must wrap this call to schedule later using CF.activity().scheduleAfter() as documented in the Pronto FAQ on the Philips site.

Ian,

And since you mean Page Jump instead of Page Flip, why not edit your original post and change the subject line so a search for +Page +Jump +ProntoScript will pick up this post?

Lyndel McGee
Philips Pronto Addict/Beta Tester
View EscientPronto 1.0.2 Docs - http://www.mediafire.com/do...hp?yyfzfzzok5z
[ Reply | Quote & Reply
Post 5 made on Tuesday January 13, 2009 at 18:09
...it's new!
Long Time Member
Joined:December 2002
Posts:24
View Profile
On Tuesday January 13, 2009 at 17:56, Lyndel McGee said...
Also note that if you are trying to do widget.executeActions to achieve a jump from a page script, you must wrap this call to schedule later using CF.activity().scheduleAfter() as documented in the Pronto FAQ on the Philips site.

Wouldn't this only need to be done if you had additional commands to perform within the script? I've found that if I am aborting the script to do my jump that the executeActions jumps just fine and all processing continues as expected.
[ Reply | Quote & Reply
Post 6 made on Tuesday January 13, 2009 at 18:25
...it's new!
Junior Member
Joined:December 2008
Posts:31
View Profile
A lot of times people put an executeActions() in the middle of their scripts and wonder why half of their script never processes or something just plain doesn't work. The big issue is that the script that contains the executeActions may be part of a chain of script functions. Thus what Lyndel is saying is defer your action list with scheduleAfter() such that all of your scripts process properly. In short executing actions while a script is running causes the script to bomb out and if memory serves may also bomb your actions. You can sometimes avoid a scheduleAfter() if your executeActions() is the last line of script to be executed during the current process.

You can see a similar issue with GUI.updateScreen(). If you change visibility on a widget or use GetImage() on a widget. You won't see the results until the script fully finishes. Sometimes this never occurs and sometimes it occurs well after the button push or event trigger. If you place a GUI.updateScreen() just after the 'change event' it executes immediately on receipt of the GUI.updateScreen() method.

You can hide almost anything until you have to put the drywall up!
[ Reply | Quote & Reply



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.

Jump to

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.