Scripting Blog [archived]

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

How Can I Clear the Contents of Any File Dropped on My Script Icon?

(image) Hey, Scripting Guy! How can I write a script that will clear the contents of any file that I drag and drop on the script icon?-- SN(image) (image) (image) Hey, SN. Say, you didn’t by any chance misplace a few hundred thousand insects did you? OK; just thought we’d ask. This past weekend the Scripting Guy who writes this column ...

How Can I Create a Table in a SQL Server Database?

(image) Hey, Scripting Guy! How can I create a table in a SQL Server database?-- FD(image) (image) (image) Hey, FD. And thanks: you’ve saved the Scripting Guys! Or, at any rate, you’ve saved the Scripting Guy who writes this column. As it turns out, this Scripting Guy is getting ready to leave town and attend his nephew’s wedding. ...

How Can I Change an Existing Hyperlink in a Microsoft Word Document?

(image) Hey, Scripting Guy! How can I change an existing hyperlink in a Microsoft Word document?-- PH(image) (image) (image) Hey, PH. You know, we’re impressed that you had the guts to ask a question today; after all, today is Friday the 13th, a date many people dread, fearing that anything bad that could happen will happen. For example...

How Can I Make Sure That No Line in a Text File Exceeds 261 Characters?

(image) Hey, Scripting Guy! How can I make sure that no row in a text file exceeds 261 characters?-- RK(image) (image) (image) Hey, RK. You know, this was a good day to ask a question; for once the Scripting Guy who writes this column is in an OK mood. (No, he’s never in a good mood, at least not when he’s at work.) Yesterday the ...

How Can I Delete a Record From a Disconnected Recordset?

(image) Hey, Scripting Guy! How can I delete a record – or a set of records – from a disconnected recordset?-- SM(image) (image) (image) eHy sm.,. Sorry; let’s try that again: Hey, SM. We apologize for the poor typing the first time around; the Scripting Guy who writes this column is trying to adjust to typing with just one hand ...