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.
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.
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.
December 20, 2011 at 03:38 pm - Permalink
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
December 20, 2011 at 07:02 pm - Permalink
One way to do this is to actually create a help file. For details, execute:
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:
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.
December 21, 2011 at 09:13 am - Permalink