Scripting Blog [archived]

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

How Can I Read the Individual Lines in a Multi-Line Text Box in a HTA?

(image) Hey, Scripting Guy! In an HTA, how can I read the individual lines in a multi-line text box?-- KM(image) (image) (image) Hey, KM. You know, to be perfectly honest the Scripting Guy who writes this column has always had a grudging admiration for people who do totally ridiculous things and yet somehow manage to get away with them. For ...

How Can I Change the Text for the Marquee Screen Saver?

(image) Hey, Scripting Guy! How can I change the text for the Marquee screen saver?-- SJ(image) (image) (image) Hey, SJ. Greetings from the frozen wasteland formerly known as Redmond, WA. On Monday night a freak November snowstorm hit the Seattle area. However, instead of leaving behind snow it left behind an inch or so of ice; ice which, in...

How Can I Rename a Folder?

(image) Hey, Scripting Guy! How can I add a suffix to a folder name? For example, I’d like to rename the folder C:\January to C:\January_2006.-- NB(image) (image) (image) Hey, NB. You know, back in July the Scripting Guy who writes this column happened to wander through the living room while the Scripting Son was watching the world-famous ...

How Can I Position the Cursor in a Specific Text Box Each Time I Start an HTA?

(image) Hey, Scripting Guy! How can I position the cursor in a specific text box each time I start an HTA?-- BM(image) (image) (image) Hey, BM. You know, if the Scripting Guy who writes this column has any regrets in life it’s that he didn’t become a Theoretical Physicist Guy. Why? Well, among other things, theoretical physicists have ...

How Can I Locate a Value in a Text File and Then Parse the Line of Text Where the Value Was Found?

(image) Hey, Scripting Guy! How can I open a CSV file, locate a value in column 1, then store the value in column 2 in a variable?-- THvdH(image) (image) (image) Hey, HvdH. We have to be honest with you, it’s a little difficult for the Scripting Guy who writes this column to stay focused on his work today. After all, tomorrow is one of the...