Scripting Blog [archived]

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

How Can I Close a Command Window with a Specific Title?

(image) Hey, Scripting Guy! How can I use WSH to close a command window with a specific title?-- MF(image) (image) (image) Hey, MF. You know, some things are just really hard to believe, regardless of whether or not they happen to be true. For example, according to the Big Bang Theory the entire universe was created when a miniscule spec ...

How Can I Set Word’s Revision View Mode to Final?

(image) Hey, Scripting Guy! In Microsoft Word 2003, my documents open as Final Showing Markup. How can I change this so the default view is Final?-- CD(image) (image) (image) Hey, CD. You know, this is the first Hey, Scripting Guy! column we’ve written since returning from the Thanksgiving holiday. After four days of eating, football, ...

How Can I Rename Files Like _JKG1234.jpg to 272_DSC_1234.jpg?

(image) Hey, Scripting Guy! How can I rename files like _JKG1234.jpg to 272_DSC_1234.jpg?-- NA(image) (image) (image) Hey, NA. You know, NA, we feel sorry for you. Why? Well, on the one hand you’re unbelievably lucky. After all, the Scripting Guys never write scripts that they actually use, yet you somehow managed to hit upon an ...

How Can I Get a List of All the Groups Whose Name Starts with G-S-Group?

(image) Hey, Scripting Guy! How can I use wildcards to get a list of all the groups whose name starts with G-S-Group?-- JD (image) (image) (image) Hey, JD. It’s the day before Thanksgiving, and one of the Scripting Guys is headed out of town as soon as he finishes his Hey, Scripting Guy! column. And what a coincidence: he happened to ...

How Can I Sort Worksheets in a Workbook?

(image) Hey, Scripting Guy! How can I sort worksheets in a workbook?-- FS(image) (image) (image) Hey, FS. How can you sort worksheets in a workbook? Well, to tell you the truth, not as easily as we had hoped you could sort worksheets in a workbook. This doesn’t mean it can’t be done; it just means that the process is a tiny bit ...