Scripting Blog [archived]

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

How Can I Set the Document Orientation in Microsoft Word to Landscape?

(image) Hey, Scripting Guy! How can I set the document orientation in Microsoft Word to landscape?-- EE(image) (image) (image) Hey, EE. We think the script that we’re about to show you will answer your question; if it doesn’t, however, we’ll hope you cut us a little slack. After all, according to an exercise bike at the local gym, ...

How Can I Use Windows PowerShell to Locate All the .WMA Files on My Computer?

(image) Hey, Scripting Guy! How can I use Windows PowerShell to locate all the .wma files on my computer?-- LC(image) (image) (image) Hey, LC. Harry Potter. Hogwarts. Ron Weasley. Dumbledore. Quiddich. What’s all that about? Oh, nothing: just a few words that idly floated through the head of the Scripting Guy who writes this column. And ...

How Can I Cause a Script to Run Inside an HTA Any Time a User Presses ENTER?

(image) Hey, Scripting Guy! How can I cause a script to run inside an HTA any time a user presses ENTER?-- JJ(image) (image) (image) Hey, JJ. Before answering your question we should state, for the record, that the Scripting Guys are unanimously opposed to the recent decision by the International Astronomical Union (IAU) to remove Pluto ...

How Can I Append a Location to the Path Environment Variable?

(image) Hey, Scripting Guy! How can I append a location to the Path environment variable?-- AC(image) (image) (image) Hey, AC. You know, there’s a TV commercial out in which a guy is watching a baseball game when his wife suddenly decides that the two of them should do something else. Talk about a dilemma: after all, according to the ...