Scripting Blog [archived]

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

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 Tell Whether a Phrase Occurs At Least Twice in a Text File?

(image) Hey, Scripting Guy! How can I tell whether or not the phrase 226 transfer complete occurs at least twice in a text file?-- JR(image) (image) (image) Hey, JR. You know, this was a tough one for us to answer; that’s because the Scripting Guys are always content with just one of everything. Take the Scripting Guy who writes this ...

How Can I Determine Whether a Domain is in Mixed Mode or Native Mode?

(image) Hey, Scripting Guy! How can I determine whether a domain is in mixed mode or native mode?-- WW(image) (image) (image) Hey, WW. When you listen to a Seattle Mariners game on the radio one of the regular features is “Stump the Broadcasters.” The premise to Stump the Broadcasters is that listeners send in a baseball question to be...