I do not know how to write macros, but I think that I have found your answer. What you want to do, is to right-click a word, and have Google search for it. Do the search automatically, from Notepad, without having to cut-and-paste. Now that I think about it, I sort of have your answer...
This can be done in Opera. You can right-click any word, and select search with...Google (or others). The only problem is, you want it to be done in notepad. To do this, you can not right-click the text file and select open with Opera. This is how you do it: Open up Opera, and select File -> Open -> (location and name of file). You will load the text file in Opera. Some of the formatting may be a little off, but you can right-click any word, and select search with->Google (or others). When you go to save the file, it will automatically save it as a text file. The downside with opening up a text file, with Opera, is that you can not make any changes.
I almost for got the link for the free d/l of Opera. Opera
Hope that helps.
We are all curious like a cat. We wonder, we ask, we learn.
Please post back when a suggestion works, so that others may learn.