Scripting Blog [archived]

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

How Can I Cause a Script to Run Inside an HTA Any Time a User Presses ENTER?

(image) Hey, Scripting Guy! How can I cause a script to run inside an HTA any time a user presses ENTER?-- JJ(image) (image) (image) Hey, JJ. Before answering your question we should state, for the record, that the Scripting Guys are unanimously opposed to the recent decision by the International Astronomical Union (IAU) to remove Pluto ...

How Can I Dynamically Change the Background Color of an HTA?

(image) Hey, Scripting Guy! How can I dynamically change the background color of an HTA?-- CN(image) (image) (image) Hey, CN. You know, last summer (Fourth of July, 2005) an errant firework shot by a neighbor accidentally caught one of the Scripting Guys’ garage on fire. (Because it was shot by a neighbor we assume it was an accident. ...

How Can I Minimize or Hide an HTML Application for 30 Seconds?

(image) Hey, Scripting Guy! How can I minimize or hide an HTA for 30 seconds?-- MF(image) (image) (image) Hey, MF. You know, with the possible exception of baseball, the Scripting Guy who writes this column rarely claims to know much about anything. And for good reason: every time he thinks he knows something, well …. Take your question...

How Can I Display a Message Box That Has No Buttons, and That Disappears After a Specified Period of Time?

(image) Hey, Scripting Guy! I would like to display a message box for a set amount of time and then have it disappear. However, I’d prefer that this message box not have a close button, or have anything else that would allow the user to close the message, minimize the message, etc. How can I do that?-- D(image) (image) (image) Hey, D. ...