Samuel Murray wrote:
GlossLookup looks up words in a sentence in a glossary, and looks up glossary terms in the same sentence. Essentially, the script does two separate types of searches, one after the other. In the first search, it checks to see if any of the whole source text of any glossary entries occurs in the sentence. In the second search, it checks if any of the words in the sentence occur in the source text of all glossary entries. The results are output to HTML, then opened in a browser.
1. I assume your glossary is named 'glossary.txt' and that is in the script's own directory
2. I assume that your glossary is UTF8 with so-called BOM (can be changed in the code)
Shortcuts:
Ctrl + C = Copy selection to clipboard (normal Windows function)
WinKey + C = Look up the text on the clipboard
WinKey + V = Attempt to copy all (e.g. whole segment, whole page, etc.) before looking it up
WinKey + Q = Exit the program (or right-click its icon in the systray)
The glossary format is tab-delimited plain text, with at least two columns per line.
A user wrote to me about this script, so I added it to my web site again. It is here:
http://leuce.com/autoit/glosslookup%20v2.zip
[Edited at 2013-03-20 18:53 GMT]