How to use hyperlinks in NOTEBOOKs?

I want to generate a report with a menu with hyperlinks. The Igor HELP files clearly support hyperlinks; however, I have not figured out how to make them in NOTEBOOKs.
Use a Notebook Action with a link style and containing a BrowseURL command.

See the attached screen capture for the general idea, and execute this DisplayHelpTopic command to see the relevant operation:

DisplayHelpTopic "NotebookAction"

--Jim Prouty
Software Engineer, WaveMetrics, Inc.
notebookAction.png (31.59 KB)
Hi, Jim:

It helps. I want something slightly different. More specific, I want a table of content with hyperlinks to the specific locations in my report.

thanks,

Yaohua

yaohualiu wrote:
It helps. I want something slightly different. More specific, I want a table of content with hyperlinks to the specific locations in my report.


One way to do this is to actually create a help file. For details, execute:
DisplayHelpTopic "Creating Your Own Help File"


However, a help file has to have certain specific formatting that you may not want. In that case, you will have to use notebook actions. The command executed by each action will execute something like:
Notebook $WinName(0,16), findText={"Section 1", 1+2+8}  // Case-sensitive with wrap around

where "Section 1" is the section header text. The section header text must be unique within the notebook - otherwise it will find the wrong text.

There is no way to do a real table-of-contents with page numbers.