Loading ...
Sorry, an error occurred while loading the content.

[Clip] Hyperlinks in the Glossary Outline

Expand Messages
  • Guenther Publishing
    Hi Clippers, Here is a little clip that might help navigate the glossary outline. It inserts one header for each letter of the alphabet, and a line of
    Message 1 of 1 , Feb 24, 2000
    • 0 Attachment
      Hi Clippers,

      Here is a little clip that might help navigate the
      glossary outline. It inserts one header for each
      letter of the alphabet, and a line of hyperlinks
      to each of these new headers.

      I.e:
      H="A"
      (A)[B][C][D]...[Y][Z]
      Notice the "greyed out" (A) link.

      Place the clip into a convenient library, open
      the glossary outline, and run the clip "AlphaBar"

      Enjoy,

      Eb

      ; = = = = = = = = = = = =
      H="AlphaBar"
      ^!IfTrue ^$IsOutlineDoc$ Skip_2
      ^!Info [L]You must run this clip from an outline!
      ^!SetFocus Outline
      ;cursor to header window, set ASCII limits for alphabet
      ^!Set %asc%=64;%Z%=90
      :loop
      ;loop through the alphabet
      ^!Inc %asc%
      ^!Set %char%=^$DecToChar(^%asc%)$
      ^!AddHeading "^%char%"
      ^!Set %ix%=64

      :buttonBar
      ;Default button bar: [A][B](C)[D]...[Z]
      ;OR roll your own.
      ^!Inc %ix%
      ^!If ^%ix%=^%asc% Skip
      ^!InsertText [^$DecToChar(^%ix%)$]
      ^!If ^%ix%<>^%asc% Skip
      ^!InsertText (^$DecToChar(^%ix%)$)
      ^!If ^%ix%<^%Z% buttonBar
      ;long line
      ^!Inserttext ^%NL%
      ;end long line
      :endButtonbar

      ^!If ^%asc%<^%Z% loop
      :endloop through Alphabet
      ;long line
      ^!Info [L]Now sort the headers to place the button bars at the top of each
      section. Drag the BLANK header back to separate notes from
      glossary.^%NL%^%NL%Done. Use the Alphabet bars for quick
      navigation.^%NL^%NL%Note: because NoteTab does not scroll the link to the
      top of the screen on links DOWN in the document, use the letter AFTER the
      target when linking Down.^%NL%For example: your in the "G" section, and
      want to look up a "T" word. Linking to "T" would place the T header at the
      bottom of the page, but linking to "U" would put the "U" at the bottom,
      with nothing but "S" words on the screen(;-)}^%NL%

      ;end long line
      ; = = = = = = = = = = = =
    Your message has been successfully submitted and would be delivered to recipients shortly.