Scripting Blog [archived]

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

How Can I Tell if ActiveX is Enabled in Internet Explorer?

(image) Hey, Scripting Guy! How can I tell if ActiveX is enabled in Internet Explorer?-- JV(image) (image) (image) Hey, JV. You just had to ask this question, didn’t you? Actually, this isn’t a particularly hard question to answer, it’s just a little complicated. But that has to do more with the way Internet Explorer is configured ...

How Can I Get the Command Window to Stay Open After Running a Command-Line Tool?

(image) Hey, Scripting Guy! How can I get the command window to stay open after running a tool like Ping or Ipconfig?-- DB(image) (image) (image) Hey, DB. Now this question takes us back. Back when one of the Scripting Guys first started here at Microsoft many people thought WMI and ADSI were way too hard for script writers to use. As a ...

How Can I Receive Notification Any Time Something is Printed to a Particular Printer?

(image) Hey, Scripting Guy! How can I receive notification any time something is printed to a particular printer?-- IL(image) (image) (image) Hey, IL. You know, one of the Scripting Guys once had a summer job in an organization where the only decent printer in the entire building was kept in the administrative assistant’s office. We can ...

How Can I Clear an HTA Window?

(image) Hey, Scripting Guy! How can I clear an HTA window?-- DF(image) (image) (image) Hey, DF. Well, to tell you the truth, if you’d ever seen at least one of the Scripting Houses you wouldn’t be asking us if we knew how to clear a window; it’s pretty obviously some of us don’t. (In our defense, though, if we keep the window clean...

How Can I Insert Multiple Files Into a Word Document, Putting a Page Break Between Each File?

(image) Hey, Scripting Guy! On May 3rd you showed us how to merge multiple files in Microsoft Word. I’d like to do that, but put a page break between each file.-- CE(image) (image) (image) Hey, CE. You know, when we read your email our first thought was this: no way did we show people how to merge multiple files back on May 3rd 2005. ...