Scripting Blog [archived]

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

How Can I Clear a Text Box in an HTA?

(image) Hey, Scripting Guy! How can I clear a text box in an HTA?-- CB(image) (image) (image) Hey, CB. You know, it’s been awhile since we’ve answered a question about HTAs (HTML Applications). And we could probably get away with that except for the fact that a month or so ago we debuted the HTA Developer’s Center, something which ...

How Can I Pass Command-Line Variables to an HTA When It Starts?

(image) Hey, Scripting Guy! How can I pass command-line variables to an HTA when it starts?-- DM(image) (image) (image) Hey, DM. Ok, we admit it: you almost had us on this one. (Not that being able to stump the Scripting Guys is particularly hard, mind you.) We had no idea whether you could pass command-line variables to an HTA, and even ...

How Can I Clear a List Box in an HTA?

(image) Hey, Scripting Guy! How can I clear a list box in an HTA?-- AK(image) (image) (image) Hey, AK. For those of you who aren’t familiar with the term, an HTA - among other things - is a way to use Internet Explorer to provide a graphical user interface for your scripts. (If that still doesn’t answer your questions, don’t despair...

How Can I Display A Progress Bar (or Something Similar) While My Script Runs?

(image) Hey, Scripting Guy! How can I get my script to do something interesting while the code executes; you know, how can I display a progress bar or something?-- HD(image) (image) (image) Hey, HD. To begin with, we don’t recommend that you try to use a true progress bar; that’s because it’s very difficult to calculate - let alone ...

How Can I Tell Whether a Web Page is Accessible?

(image) Hey, Scripting Guy! How can I tell whether or not a Web page is accessible?-- JW(image) (image) (image) Hey, JW. To tell you the truth, these are the kinds of questions we hate, questions where we don’t know the answer off the top of our heads but where it seems like there ought to be a way to do this. Sometimes in the world of ...