Scripting Blog [archived]

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

Hey, Scripting Guy! How Can I Determine the Version of DirectX Installed on a Computer?

(image) Hey, Scripting Guy! How can I determine the version of DirectX installed on a computer?-- ML (image) (image) (image) Hey, ML. How can you determine the version of DirectX installed on a computer? That’s an important question, and we’ll get to that in a moment. Before we do that, however, there’s an even more ...

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 ...

How Can Tell Whether the NumLock Key is On or Off?

(image) Hey, Scripting Guy! How can I tell whether the NumLock key on a computer is on or off?-- KA(image) (image) (image) Hey, KA. You know, there are two problems with being a Scripting Guy. (Three, if you count the amount we get paid for doing this.) For one thing, you always have to be on your guard whenever Dean is around. Why? Well, ...

How Can I Write a Script That Prevents the Screensaver from Starting?

(image) Hey, Scripting Guy! How can I write a script that prevents the screensaver from coming on? Sometimes I get interrupted for a couple minutes (say I get a phone call or something) and the screensaver kicks in, which promptly locks the computer. Is there a way to keep that from happening?-- SS(image) (image) (image) Hey, SS. We hope ...

How Can I Determine the Size of All the Items Currently in the Recycle Bin?

(image) Hey, Scripting Guy! How can I determine the size of all the items currently in the Recycle Bin?-- T D-L(image) (image) (image) Hey, T D-L. You know, if we wanted to, the Scripting Guys could probably change our name to the Recycle Bin Guys; that’s because we get so many questions about scripting and the Recycle Bin. So why haven...