nickgrimmer
Technical User
Hi everyone,
I've got only a very basic understanding (OK, probably less than basic understanding) of programming & writing macros, so please bear with me. What I'd like to do should be fairly simple, but I've spent the last 5 hours searching through tons of stuff, all to no avail... I'm probably using the wrong terminology, so feel free to correct anything I write here!
I'm creating a macro for my law journal that will make citations easier for everyone. Whenever we cite another law journal article, we must use a very specific abbreviation of that journal's name (for example, "Houston Law Review" becomes "Hous. L. Rev."). There's only a hundred or so different journals, and I've made a list containing the full and abbreviated names of each.
So - the idea for the macro is this - first, the user positions the cursor wherever they'd like the citation to go. Then the user runs the macro, and some kind of box pops up that lists all of the potential journals & their abbreviations. The box would also have an "insert" and a "cancel" button, and it would be nice if I could also put something in it to allow the user easily find the entry they want (probably either: 1) a text entry box to allow the user to begin typing the journal name, and the list would then scroll to whatever they've typed, or 2) a list of letters A-Z (so that the user can select the first letter of the journal name). Once the user has highlighted the journal name/abbreviation that they'd like to insert, they'd simply click "insert."
If anyone has code resembling this, I'd be forever grateful. Or if y'all even know what kind of box this should be or any other helpful tidbits, it would go a long way in getting me where I need to be. Thanks a ton.
I've got only a very basic understanding (OK, probably less than basic understanding) of programming & writing macros, so please bear with me. What I'd like to do should be fairly simple, but I've spent the last 5 hours searching through tons of stuff, all to no avail... I'm probably using the wrong terminology, so feel free to correct anything I write here!
I'm creating a macro for my law journal that will make citations easier for everyone. Whenever we cite another law journal article, we must use a very specific abbreviation of that journal's name (for example, "Houston Law Review" becomes "Hous. L. Rev."). There's only a hundred or so different journals, and I've made a list containing the full and abbreviated names of each.
So - the idea for the macro is this - first, the user positions the cursor wherever they'd like the citation to go. Then the user runs the macro, and some kind of box pops up that lists all of the potential journals & their abbreviations. The box would also have an "insert" and a "cancel" button, and it would be nice if I could also put something in it to allow the user easily find the entry they want (probably either: 1) a text entry box to allow the user to begin typing the journal name, and the list would then scroll to whatever they've typed, or 2) a list of letters A-Z (so that the user can select the first letter of the journal name). Once the user has highlighted the journal name/abbreviation that they'd like to insert, they'd simply click "insert."
If anyone has code resembling this, I'd be forever grateful. Or if y'all even know what kind of box this should be or any other helpful tidbits, it would go a long way in getting me where I need to be. Thanks a ton.