Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

How Can I Clear a List Box in an HTA?

(image) Hey, Scripting Guy! How can I clear a list box in an HTA?-- AK(image) (image) (image) Hey, AK. For those of you who aren’t familiar with the term, an HTA - among other things - is a way to use Internet Explorer to provide a graphical user interface for your scripts. (If that still doesn’t answer your questions, don’t despair...

How Can I Add a Word to a Text File if That Word Isn’t Already in the File?

(image) Hey, Scripting Guy! How can I check a text file to see if a word appears in that file and, if it doesn’t, add the word to the file?-- JO(image) (image) (image) Hey, JO. We seem to have gotten quite a few questions on this topic lately. You mentioned adding words to a custom dictionary for Microsoft Word; other people mentioned ...