Showing archive results for 2007

Mar 29, 2007
Post comments count0
Post likes count0

How Can I Search a Text File for Strings Meeting a Specified Pattern?

ScriptingGuy1

Hey, Scripting Guy! How can I search a text file of product IDs and retrieve just those lines that meet a specified pattern?-- WT Hey, WT. Before we get to today’s question we were wondering if anyone else has seen the commercial for the car that features the all-new “heartbeat sensor?” The idea is that, before you open your car door, you check ...

Scripting Guy!scripting techniquesVBScript
Mar 28, 2007
Post comments count0
Post likes count0

How Can I Change the Color of the Scrollbars in an HTA?

ScriptingGuy1

Hey, Scripting Guy! How can I change the color of the scrollbars in an HTA?-- IR Hey, IR. How many times have you thought to yourself, “Gee, the Scripting Guy who writes that column is so smart; how come he isn’t rich?” (OK, true, you’ve probably never thought that. But just play along, OK?) Well, it turns out that there’s a very simple explanat...

Scripting Guy!scripting techniquesVBScript
Mar 27, 2007
Post comments count0
Post likes count0

How Can I List All the Members of a Microsoft Outlook Distribution List?

ScriptingGuy1

Hey, Scripting Guy! How can I list all the members of a Microsoft Outlook distribution list?-- KH Hey, KH. You know, that’s an interesting question. As it turns out, you can – ow! Hey, let go! Ow! Stop it! Come on, give us a chance; we were just about to tell them! Ow! Um, excuse us. It has come to our attention that, due to a … production error...

Scripting Guy!VBScriptOffice
Mar 27, 2007
Post comments count0
Post likes count0

How Can I Use Windows PowerShell to Be Notified When an Application Terminates?

ScriptingGuy1

Hey, Scripting Guy! We have an in-house application that, unfortunately, crashes a lot; when that happens we have to go through a lengthy procedure to restart the program. Using Windows PowerShell, is there any way I can be notified when this application crashes?-- OI Hey, OI. You know, at first we thoughts to ourselves, we thought, “Hey, we ain...

Scripting Guy!Windows PowerShelloperating system
Mar 24, 2007
Post comments count0
Post likes count0

How Can I Parse a Tab-Delimited File and Then Save That as a Comma-Separated Values File?

ScriptingGuy1

Hey, Scripting Guy! How can I parse a tab-delimited file, and then save the resulting information as a comma-separated values file?-- DM Hey, DM. You know, yesterday morning the Scripting Guy who writes this column had to scrape the ice off his windshield; today it’s much warmer – 44 at last report – although it is raining. Of course, you know w...

Scripting Guy!scripting techniquesVBScript