Scripting Blog [archived]

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

How Can I Create a Shortcut in My Network Places?

(image) Hey, Scripting Guy! How can I create a shortcut in My Network Places?-- KP(image) (image) (image) Hey, KP. You’ll have to excuse us if we sound a little out of breath; we’ve been running around like crazy looking for a complicated and highly-technical solution to this problem. It was only after we failed miserably in that quest...

How Can I Make Internet Explorer Check for a New Version Each Time I Visit a Web Page?

(image) Hey, Scripting Guy! How can I make sure that Internet Explorer 6 checks for a new version on each visit to a Web page?-- MD(image) (image) (image) Hey, MD. In baseball lingo we’d call this a can of corn: a lazy fly ball we couldn’t possibly drop. This is a tricky little question but for some strange reason we just happened to ...

How Can I Determine the Week of the Month a Date Falls In?

(image) Hey, Scripting Guy! How can I determine the week of the month a date falls in?-- AK(image) (image) (image) Hey, AK. You’re probably familiar with the book Moby Dick, the story of a crazy sea captain who became obsessed with hunting down and finishing off the great white whale. Well, this question turned out to be the Moby Dick of...

How Can I Exit a For Each Loop?

(image) Hey, Scripting Guy! Is there any way to exit a loop in a script?-- MW(image) (image) (image) Hey, MW. You know, when we started writing this column we intended it to be a simple little thing that answered those basic questions so many beginning scripters have: • How can I determine the current date in a script? (Use VBScript...

How Can I Insert Files into a Word Document?

(image) Hey, Scripting Guy! Awhile back you showed people how they could combine several text files into a single file. I’d like to do the same thing in Word. How can I insert files into a Word document?-- HK(image) (image) (image) Hey, HK. Believe it or not it’s actually easier to insert files into a Microsoft Word document than it is...