Scripting Blog [archived]

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

How Can I Use a Script to Lock the Taskbar?

(image) Hey, Scripting Guy! How can I use a script to lock the Taskbar?-- RK(image) (image) (image) Hey, RK. One of the Scripting Guys was a computer support person at the University of Washington when Windows 95 was released. This Scripting Guy has two lasting memories of those days. For one, he remembers having to install both Windows 95...

How Can I Temporarily Pause a Script in an HTA?

(image) Hey, Scripting Guy! How can I temporarily pause a script in an HTA?-- TJ(image) (image) (image) Hey, TJ. You know, throughout history people have spent an enormous amount of time and energy searching for the meaning of life. The Scripting Guys have never taken part in this quest. Why not? Well, laziness aside, we know that it doesn...

How Can I Change the IP Address Assigned to a Computer?

(image) Hey, Scripting Guy! How can I change the IP address assigned to a computer?-- RW(image) (image) (image) Hey, RW. To tell you the truth, this is a very difficult question for the Scripting Guys to answer. Not because this is a hard script to write; as you’ll see in a minute, it’s actually pretty easy. No, this is hard for the ...

How Can I Disable the Keep Printed Documents Attribute on a Printer?

(image) Hey, Scripting Guy! How can I disable the Keep Printed Documents attribute on a printer?-- JJ(image) (image) (image) Hey, JJ. You didn’t mention which operating system you’re trying to do this on, but we hope it’s a Windows XP or Windows Servers 2003 computer. Why? Well, on a Windows XP or Windows Server 2003 machine, this is...

How Can I Determine the Default Script Host on a Computer Before I Run a Script?

(image) Hey, Scripting Guy! I know that when I run a script I can use code to determine whether the script is running under WScript or CScript. What I can’t figure out is this: how can I determine the default script host on a computer before I run a script?-- AT(image) (image) (image) Hey, AT. You know, it’s not very often that people ...