Skip to main content
November 8, 2012
Question

Script for adding all topics to a single browse sequence

  • November 8, 2012
  • 1 reply
  • 2184 views

Hi all, has anybody perchance written a script that inserts all topics into a single browse sequence? This would be similar to the 'auto-create from TOC'-function but using a single long sequence instead of separate ones for each chapter.

Most of our users think that the concept of browse sequences is confusing in Webhelp. They just want simple 'forward' and 'backward' buttons that jump through the TOC.

Robert

This topic has been closed for replies.

1 reply

Captiv8r
Legend
November 8, 2012

Hi Robert

There's no need for a script. Just use the auto-create. Then type 0 (zero) for the level.

Cheers... Rick

November 8, 2012

..even though the topics are added in a strange manner.

First the BRS jumps through the topics assigned to the top level books

(Chapter 1, Chapter 2 etc.). Then at the end it continues at the start

again and jumps through the topics in the individual chapters. Well,

I'll come up with a feature name that imlpies it was planned that way.

Participant
April 10, 2014

Hi Willam,

thanks for the offer, I have done some ExtendScripts before and think it

should be a solvable tasks. I just thaught I'd ask whether anybody might

have had just the same issue before and already finished a script. No

need to repeat work already done..

Regards,

Robert


Hi Robert,

I know this thread is over a year old, but I encountered the same problem as you did. I needed to include a browse sequence in my master page (with Next and Previous buttons), but the BRS did not work as expected, even when the TOC level was set to "0".

The solution is as follows:

  1. Generate a secondary flat TOC in your framemaker book.
  2. Create a secondary TOC in RoboHelp e.g. bookname_flat.
  3. Import your framemaker book and select the flat TOC file in the conversion settings (no need to re-import the book afterwards with the structured TOC since it remains unchanged).
  4. Create a browse sequence using the secondary RoboHelp TOC.
  5. If you want to insert the BRS in your master page header, follow these instructions (thanks Willam ): http://wvanweelden.eu/blog/2012/07/27/browse-sequences-webhelp-topics

It worked perfectly for me. Make sure the secondary TOC that you created in FM is indeed flat (you mentioned that your FM TOC was not generated flat in RH).

Regards,

Charlton