Automating repetitive task?

Nancy Allison maker at verizon.net
Mon Aug 13 11:56:03 MDT 2007


Hi, everyone. I have a fairly long Word doc with many figures. As we all know, Word does not provide a UI function to generate a list of imported figures (either linked or pasted in). Instead, to get said list, you save the doc as html, open the html doc, and search for "title=". This takes you to your original name for each graphic file.

I needed to compile a list of the graphic files used in the doc, so that I can delete all the also-rans that are cluttering up my "Art" file for this document. (Management of graphic files a topic for another thread.)

Because I don't know any better, I'm following this manual procedure:

1. Search for "title=".
2. Highlight text that follows immediatly, in quotation marks. Example:

title="Compute_Values"

3. Select "Compute_Values" and copy it into a separate Notepad file (although it could be a Word file; it doesn't matter to me).

4. repeat steps 1-3 to end of .html file.

Can someone point me in the direction of the skills I need to be able to automate something as stupidly repetitious as this? 

If it's important, I used "View Source" from inside Word to view the .html file, and it opened in something called Microsoft Script Editor. I believe if I had opened the file in Explorer and then used View Source, it would have opened in Notepad. In either case, the .html file opens in a tool other than Word, so I'm working in at least two applications.

Pointers gratefully received.

--Nancy


More information about the TECHWR-L mailing list