A few questions and comments
Hey I know this thread is kind of old, but I'm trying get this macro working, as it would be very helpful to me. Has anybody had any of these issues:
1. Macro seems to complete correctly when the definitions are wrapped in straight quotes, but when smart quotes wrap the definitions, the definitions file is empty and none of the quoted terms have been turned red.
2. Perhaps this search logic would be too complicated, but it seems like the current logic doesn't account for definitions that might have a period or comma inside the quote (e.g., There are two terms: "Term 1," and "Term 2.")
In those cases , the search thinks that the definition is missing closing quote and makes a comment.
3. I'm a little unclear about how I would use the definitions file (or some other external file) to search for instances of the definition that are not capitalized. Should I be looking for a different macro to accomplish that.
4. For anyone else who is confused about how to engage this macro sequence, you want to start with this macro: "annotate_definitions_in_a_doc"
This macro is actually a series of different macros. If it's they are the only macros in your module, they'll sort in alpha order, with each macro contiguous to the one before it and their relationship will make sense. But if you've got a bunch of other macros, the various macros in this sequence will be interspersed within a large alpha order.
For a relative newbie, like myself, this was confusing, because I was used to a macro being a singular script, not a series of different ones linked together in a chain. I'm sure this is a smart way to build something like this. It was just a little confusing.
I use a couple of word add-ins that run word macros, and it looks like those developers pre-fix each of their scripts with an abbreviation like TFT, so all of the related scripts sort together in one place.
Anyway, I'm sure all of this obvious to experienced people, but for anybody who isn't perhaps it will help you get up and running with what seems like a great macro if you need this functionality.
TIA for any help on this!
KS
|