Scripting Blog [archived]

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

How Can I Force a Specified Letter Case in an HTA?

(image) Hey, Scripting Guy! In our company we often use HTAs as data entry forms. For some of our applications case-sensitivity is important; for example, our product numbers are case-sensitive. I know I can write a script to change letter case, but I was wondering if there was a way to force letter case (either all uppercase or all ...

How Can I Format a Series of Numbers as a Phone Number?

(image) Hey, Scripting Guy! How can I format a series of numbers as a phone number in Windows PowerShell?-- HR(image) (image) (image) Hey, HR. You know, formatting is all about making things look a little nicer and a little more presentable. That’s why the Scripting Guy who writes this column always finds it strange when people ask him ...

How Can I Replace a Specified Font in a Microsoft Word Document?

(image) Hey, Scripting Guy! We have a folder full of Word documents in which the author had an unfortunate tendency to use a strange font from time-to-time. How can I use a script to go in and replace just that strange font with Arial?-- Z D-F(image) (image) (image) Hey, Z D-F. You know, when “desktop publishing” first came into vogue...

How Can I Use Graphics in an HTA’s Bulleted List?

(image) Hey, Scripting Guy! Often-times while browsing the Internet I run across Web pages where they used a bulleted list, except that they use little pictures as the bullets. Can I add that type of a bulleted list to my HTAs?-- JA(image) (image) (image) Hey, JA. You know, as a long-time baseball coach, the Scripting Guy who writes this ...

How Can I Determine the Follow-Up Status of Outlook Emails?

(image) Hey, Scripting Guy! How can I go through all the emails in an Outlook folder and determine which messages are flagged for follow-up and which messages were flagged for follow-up but are now complete?-- KF(image) (image) (image) Hey, KF. We’ll be honest with you: we’re going to try to get to your question today, but first we’...