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:
Browse Backward and "Working Macro" - Browse back to the last page of "Working Macro"
This thread has 8 replies. Displaying all posts.
Post 1 made on Monday February 20, 2012 at 02:01
Sunti
Long Time Member
Joined:
Posts:
April 2008
16
Hello everybody,

I use TSU9400 - latest firmware and Pep3 and create a "Working Macro"

Example:

On my "HOME" page i push the "POWER BUTTON", the action list is:

Macro: working home
Jump: Power - Power

This is my working macro - six different pages like working_xxx

Jump Home - Working_000
Delay 0,05 sec
Jump Home - Working_020
Delay 0,05 sec
Jump Home - Working_040
Delay 0,05 sec
Jump Home - Working_060
Delay 0,05 sec
Jump Home - Working_080
Delay 0,05 sec
Jump Home - Working_100

All works fine - but on the "POWER PAGE" i have a button with the "browse backward" and if i push it - he show me the page "Working_100"

But I want to browse backward to "HOME"

I hope it was clear what i mean - everybody a idea or workaround?

Thanks a lot - best regards from germany

Sunti
Post 2 made on Monday February 20, 2012 at 06:08
Arn
Long Time Member
Joined:
Posts:
October 2007
18
Hello, i don't think it could work only with macro.
You must use prontoscript and a global variable where you store the last activity.
When you jump to a new actvity you change the variable and when you push back you jump to last activity.
Post 3 made on Monday February 20, 2012 at 13:35
Lowpro
Select Member
Joined:
Posts:
March 2004
2,081
I have loading pages with my configuration file as well. Using ProntoScript I have prevented exactly what you are describing in quite a unique way for one of my activities where no other solution was feasible. Each of my loading pages displays the progress bar and various text panels based on a global variable. When each loading page is displayed if the global variable does not contain the value "backward" each loading page displays the progress bar and text panels as it normally would. When the last loading page is displayed the global variable is set to the value "backward". My action list for this specific activity at that point contains Browse Backward special actions taking you back through each of the loading pages to the original page you came from. With the global variable set to the value "backward" however, each of the loading pages is set to appear just like the last loading page. This gives the illusion to the end user that once reaching the last loading page they are being taken directly back to the original page they had come from when in reality they are quickly being browsed backwards through all of the loading pages to get there. This then prevents the issue you are describing. When executing the Browse Backward special action at that point the user is not being taken to the last of the loading pages as they've already been browsed back through those pages. Instead the user is getting browsed back to the prior page within the user interface they were on.

Last edited by Lowpro on February 20, 2012 14:22.
LP Related Links:
View my profile to access various
links to key posts and downloads.
OP | Post 4 made on Monday February 20, 2012 at 15:17
Sunti
Long Time Member
Joined:
Posts:
April 2008
16
Arn & Lowpro thank you very much for the response

I have understood i make no mistake - it is system like and could only change by a Prontoscript.
I could change and modify available scripts from other user`s and i am used TCP/IP Singleshot to control my homeautomation (i created myself and i am very very happy about this) but i think i was not able to write this script ...

@Lowpro - i have download your file - wow ... i will look next weekend

best regards and have a good time

SunTi
Post 5 made on Tuesday February 21, 2012 at 04:31
buzz
Super Member
Joined:
Posts:
May 2003
4,366
I use a general call/return set of functions that push the return address on a global stack. This is great for surround sound adjustments, progress bars, TV setup, and control, and similar multi-page "activities" that might be called from anywhere in the program. On adjustment pages, I'll use a "Return" button to call the return function. For progress bar type activities, one could simply call the return at the end.

Personally, I don't like progress bars. If you use them regularly, consider developing a generalized function that you can call with a time parameter, say two seconds, and the function will overlay the current page with a scrolling progress bar for two seconds, then remove the bar.

I also have global command queue. This mostly eliminates the need for progress bars. For example, if the TV set needs 10 seconds or so to get its head on straight after POWER ON, I'll throw the TV's INPUT SELECT command into the IR queue with a note to execute the command in 10 seconds. Meanwhile, the program can jump to the cable activity and allow the user to pick a channel while waiting for the TV.
Post 6 made on Tuesday February 21, 2012 at 19:11
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,992
For a solution that requires 100% NO Prontoscript...

For pages that you need to 'Go Back' from, create a copy and only access those pages as callable (return using Go Back) and in the activity in which they reside, relabel the firm key to 'Back' and specify Special Action Browse Backward.

For access to a page from the home page, relabel the firm key to 'Home' or simply use the Home hard button both having a Special Action Home.
Lyndel McGee
Philips Pronto Addict/Beta Tester
Post 7 made on Tuesday February 21, 2012 at 19:15
Lowpro
Select Member
Joined:
Posts:
March 2004
2,081
I like having loading pages displayed during longer macros as it lets the end user know the system is not available for them to control during that time. The only issue of course is if the page the user ends up on offers the ability to browse backwards. If so, browsing backwards takes the user to the last of the loading pages just as described by the OP. Browsing back through the loading pages in reverse order at the end of macro sequence while at the same time forcing each loading page at that point to appear just like the last loading page, this is a very simple solution implement. Takes the user right back where they started while at the same time clearing the browse backwards stack. Time permitting I'd be happy to provide the OP with an example configuration file if they are interested.
LP Related Links:
View my profile to access various
links to key posts and downloads.
OP | Post 8 made on Wednesday February 22, 2012 at 12:35
Sunti
Long Time Member
Joined:
Posts:
April 2008
16
@ Lyndel - thank you - i will test it next weekend

@ Lowpro - oh that was wonderfull - i hope you find the time - i am very interested

best regards SunTi
Post 9 made on Wednesday February 22, 2012 at 15:42
Lowpro
Select Member
Joined:
Posts:
March 2004
2,081
On February 22, 2012 at 12:35, Sunti said...
@ Lowpro - oh that was wonderfull - i hope you find the time - i am very interested

best regards SunTi

I worked up a very simple example file for you. Download link below.

LP's "Please Wait" Example XCF:
[Download File (459kb)]


Comments: This is a very simple example activity demonstrating how to clear the browse backwards stack during a macro which includes loading pages while at the same time making it appear to the end user that they've been taken directly from the last loading page to the page they began on. Note that once being taken back to the "Activities" page executing the "Browse Backward" special action via Firm1 takes you back to the "Home" page. It does not take you back to the last of the loading pages as you've already been browsed back through those pages.

Last edited by Lowpro on February 22, 2012 16:26.
LP Related Links:
View my profile to access various
links to key posts and downloads.


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