PDA

View Full Version : MS Word Utilities for Writers



Roger J Carlson
04-27-2005, 10:40 PM
I've written several little programs in Microsoft Word to do some things that Word does not do:

Word Frequency Counter:
http://absolutewrite.com/forums/showthread.php?t=11152

This program counts all instances of each word in a document. This can be useful to determine if you are using some words too frequently. In addition, it also tracks the shortest distance (in words) between any two instances of a word. (For instance, "I said that he said" would return 3. This can help determine if you are using words in too close proximity.

Phrase Frequency Counter:
http://absolutewrite.com/forums/showthread.php?t=11380

This program is similar to the Word Frequency Counter, but it counts only those phrases you specify. If you have a tendancy to use cliches or over-worked phrases, this can help identify them.

Passive Word Highlighter:
http://absolutewrite.com/forums/showthread.php?t=11330

This program goes through an entire document and changes the color of passive, boring, or cliche words and phrases. For instance, it will replace every instance of "was" with "was" (formatted in red). You control which words it checks for and the color it assigns.

Count Lines:
http://absolutewrite.com/forums/showthread.php?t=11657

This program accurately counts the number of lines in a document opened in Microsoft Word.

Adverb Eliminator
We are constantly being told to get rid of as many adverbs as possible from our writing. I've added two new utilities that can help:It works like this:

Make a copy of your file
Turn on Track Changes (MS Word of course)
Check every word to see if it ends in ly
Check word against an Exclude List
If not in Exclude List, mark word for deletion
When done, you can go back and scroll through the deletions and either accept or reject it.
Adverb Highlighter
For those who don't use (or are afraid of) Track Changes, I also wrote the which does the same thing but just highlights the adverbs instead.

Preposition Highlighter.
This program checks the number of prepositions in a sentence and a paragraph and highlights those above a pre-defined threshold. I just bundled it into my standard package which gives the user the ability to choose threshold and color. It can be useful for finding excessive prepositional phases.


I originally posted these in the Writing Novels board, but I thought they might be useful to others as well. The links above connect to those discussions if you want to read more about them.

These programs are entirely free and you can download them from my website, here:

http://www.rogerjcarlson.com/WritingHelp/TechTips.html

I hope you find them useful. I would be glad for any comments or suggestions. I'd particularly like to know if you have any problems.

BTW, all of the programs work externally, that is they open a separate document file and work on that. I am currently working on a Master Suite of utilities that you can import into Word itself and use on your currently active document. I'll let you know when it's ready.

JennaGlatzer
04-28-2005, 07:23 AM
This is really nice of you to share, Roger. Thanks!

ChunkyC
04-29-2005, 09:38 PM
Excellent, Roger! When you say these work externally, that means that you run these programs and use them to open a Word document? I use OpenOffice, so I could save my document in Word format, then run it through the phrase frequency counter. I could then have the native OpenOffice file open, and use the processed Word version as a reference and flip back and forth to make my changes.

Cool!!

Roger J Carlson
04-29-2005, 09:44 PM
Excellent, Roger! When you say these work externally, that means that you run these programs and use them to open a Word document? I use OpenOffice, so I could save my document in Word format, then run it through the phrase frequency counter. I could then have the native OpenOffice file open, and use the processed Word version as a reference and flip back and forth to make my changes.

Cool!!Well....

You DO have to have Word 2000 or above to run the program. It's written in Word.

ChunkyC
04-29-2005, 10:58 PM
Ah -- felgerkarb! I downloaded them and had a look using the copy of Word I use at work. I have OpenOffice 1.1 and WordPerfect 11 on my laptop, which is where I would want to use them. I gather the programming won't run in WordPad either. I'm pretty darn sure WordPad can't run macros.

I suppose I could try it with OpenOffice and see what happens, unless there's some reason (like it specifically calls the Word executable and/or dll's for the new document session or something) that would prevent it operating properly.

Poo.

Roger J Carlson
04-30-2005, 05:32 AM
Ah -- felgerkarb! I downloaded them and had a look using the copy of Word I use at work. I have OpenOffice 1.1 and WordPerfect 11 on my laptop, which is where I would want to use them. I gather the programming won't run in WordPad either. I'm pretty darn sure WordPad can't run macros.

I suppose I could try it with OpenOffice and see what happens, unless there's some reason (like it specifically calls the Word executable and/or dll's for the new document session or something) that would prevent it operating properly.

Poo.Unfortunately, you MUST have Word in order to use this. I suppose I could re-write it in VB or even Access. Hmmm... take some time though.

ChunkyC
05-01-2005, 12:30 AM
Don't knock yourself out, Roger ... unless you just can't resist tinkering.

I tried it with OpenOffice. The document opened just fine, all the elements were there. Just no 'action' when I clicked on the button. OO even recognized the macros and tried to convert 'em, but to no avail.

Not a biggie.

Roger J Carlson
05-01-2005, 03:52 AM
Don't knock yourself out, Roger ... unless you just can't resist tinkering.

I tried it with OpenOffice. The document opened just fine, all the elements were there. Just no 'action' when I clicked on the button. OO even recognized the macros and tried to convert 'em, but to no avail.

Not a biggie.I CAN'T resist tinkering. But this is rather low on my list. I'm working on a master suite right now that can be imported into Word itself.

Still, it would be interesting to know what sort of macro language OpenOffice has. Does it just record keystrokes and mouseclicks or can you actually write programs in it? Since it tried to convert the macros, there must be something there.