Showing results for August 2006 - Page 4 of 5 - Scripting Blog [archived]

Aug 10, 2006
0
0

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

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I tell whether the NumLock key on a computer is on or off?-- KA 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, to name one example, as we were busy ...

Scripting Guy!VBScriptOffice
Aug 9, 2006
0
0

How Can I Concatenate Files of the Same Name?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I concatenate all the files (taken from various folders) that have the same file name?-- AS Hey, AS. You know, the hardest part about selecting questions to be used in the Hey, Scripting Guy! column isn’t writing the scripts; instead, it’s figuring out how to go about testing the scripts. After all, many people write ...

Scripting Guy!scripting techniquesVBScript
Aug 8, 2006
0
0

How Can I Replace Text in a Microsoft Word Document?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I search a Microsoft Word document for all occurrences of the string <computername> and replace those occurrences with the actual name of a computer (e.g., atl-ws-01)?-- WC Hey, WC. And by the way, thanks for your question. Microsoft employees will be getting their yearly performance reviews back sometime in the...

Scripting Guy!VBScriptOffice
Aug 7, 2006
0
0

How Can I Tell Whether a Phrase Occurs At Least Twice in a Text File?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I tell whether or not the phrase 226 transfer complete occurs at least twice in a text file?-- JR 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 column, for example. He has one son; he wr...

Scripting Guy!scripting techniquesVBScript
Aug 4, 2006
0
0

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

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I determine whether a domain is in mixed mode or native mode?-- WW 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 asked of the Mariners broadcasters. If y...

Scripting Guy!scripting techniquesVBScript